mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-11-19 16:06:10 +00:00
UI - Live preview - misc improvements (Adding test, fixes to filters) (#2663)
This commit is contained in:
@@ -207,7 +207,7 @@ class perform_site_check(difference_detection_processor):
|
||||
stripped_text_from_html = '\n'.join(line.strip() for line in stripped_text_from_html.replace("\n\n", "\n").splitlines())
|
||||
|
||||
if watch.get('remove_duplicate_lines'):
|
||||
stripped_text_from_html = '\n'.join(dict.fromkeys(line.strip() for line in stripped_text_from_html.replace("\n\n", "\n").splitlines()))
|
||||
stripped_text_from_html = '\n'.join(dict.fromkeys(line for line in stripped_text_from_html.replace("\n\n", "\n").splitlines()))
|
||||
|
||||
if watch.get('sort_text_alphabetically'):
|
||||
# Note: Because a <p>something</p> will add an extra line feed to signify the paragraph gap
|
||||
|
||||
Reference in New Issue
Block a user