diff --git a/tests/unit_tests/data/html_sanitisation_test_cases.md b/tests/unit_tests/data/html_sanitisation_test_cases.md index f1488883..b8073405 100644 --- a/tests/unit_tests/data/html_sanitisation_test_cases.md +++ b/tests/unit_tests/data/html_sanitisation_test_cases.md @@ -8,6 +8,8 @@ The HTML to test is in triple backtick code blocks. Anything not in code blocks is a comment. +This file is run by /tests/unit_tests/test_ui.py + ## Test scripts removed The script is removed but the contents remain. @@ -92,4 +94,26 @@ This is bold italic and on a new
line. ### Result ```html This is bold italic and on a new
line. +``` + +## Test http link with path preserved +Valid HTTP links should preserve their path. +### Input +```html +Docs +``` +### Result +```html +Docs +``` + +## Test http link with fragment preserved +Valid HTTP links should preserve their path and fragment. +### Input +```html +Docs Section +``` +### Result +```html +Docs Section ``` \ No newline at end of file