diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index 02dd51c3..02c541be 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -15,6 +15,7 @@ on: push: branches: - master + - dev jobs: metadata: @@ -92,10 +93,10 @@ jobs: version: latest driver-opts: image=moby/buildkit:master - # master branch -> :dev container tag + # dev branch -> :dev container tag - name: Build and push :dev id: docker_build - if: ${{ github.ref }} == "refs/heads/master" + if: ${{ github.ref == 'refs/heads/dev' }} uses: docker/build-push-action@v6 with: context: ./ diff --git a/changedetectionio/blueprint/watchlist/templates/watch-overview.html b/changedetectionio/blueprint/watchlist/templates/watch-overview.html index 1cb22c67..a37b8eae 100644 --- a/changedetectionio/blueprint/watchlist/templates/watch-overview.html +++ b/changedetectionio/blueprint/watchlist/templates/watch-overview.html @@ -167,7 +167,7 @@ document.addEventListener('DOMContentLoaded', function() { {% endif %}   - + {%- if watch['processor'] == 'text_json_diff' -%} {%- if watch['has_ldjson_price_data'] and not watch['track_ldjson_price_data'] -%}
Switch to Restock & Price watch mode? Yes No
diff --git a/changedetectionio/model/Watch.py b/changedetectionio/model/Watch.py index cd689054..410250bc 100644 --- a/changedetectionio/model/Watch.py +++ b/changedetectionio/model/Watch.py @@ -826,6 +826,7 @@ class model(watch_base): # has app+request context, we can use url_for() if has_app_context: if last_error: + last_error = safe_jinja.render_fully_escaped(last_error) if '403' in last_error: if has_proxies: output.append(str(Markup(f"{last_error} - Try other proxies/location '"))) @@ -835,7 +836,9 @@ class model(watch_base): output.append(str(Markup(last_error))) if self.get('last_notification_error'): - output.append(str(Markup(f"
{ self.get('last_notification_error') }
"))) + txt = safe_jinja.render_fully_escaped(self.get('last_notification_error')) + result = f'
{txt}
' + output.append(result) else: # Lo_Fi version - no app context, cant rely on Jinja2 Markup