Skip to content

Extra diff markers included in notification tokens if one of the text filtering line filters is unselected #3816

@navels

Description

@navels

Describe the bug
If any of these text filtering options are unchecked:

  • Added lines
  • Replaced/changed lines
  • Removed lines

then the {{ current_snapshot }} token has diff markers and {{ diff_full }} has extra diff markers, etc.

Version
v0.52.9

How did you install?
Docker

To Reproduce

  1. Set up a random number watch on https://www.random.org/integers/?num=1&min=1&max=100&col=5&base=10&format=plain&rnd=new
  2. With a notification configured with body {{ current_snapshot }}
  3. Under Text filtering: "Replaced/changed" checked, "Added lines" unchecked, "Removed lines" unchecked.
  4. Run the watch.

Here is a share link for this config: https://changedetection.io/share/f7vzWilE2OEa

Expected behavior
Notification body should be a single number

Actual behavior
Notification body is in diff format, e.g.,

(changed) 73
(into) 100

Desktop (please complete the following information):

  • OS: Mac OS Tahoe 26.2
  • Browser Chrome
  • Version 144.0.7559.97

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions