Fixing bad linebreak definition </br> in notifications and UI (#1465)

This commit is contained in:
dgtlmoon
2023-03-12 17:05:34 +01:00
committed by GitHub
parent 0d05ee1586
commit 6f1eec0d5a
31 changed files with 165 additions and 165 deletions

View File

@@ -11,7 +11,7 @@ sleep_time_for_fetch_thread = 3
# Basic test to check inscriptus is not adding return line chars, basically works etc
def test_inscriptus():
from inscriptis import get_text
html_content = "<html><body>test!<br/>ok man</body></html>"
html_content = "<html><body>test!<br>ok man</body></html>"
stripped_text_from_html = get_text(html_content)
assert stripped_text_from_html == 'test!\nok man'