diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/html_flow.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/html_flow.rs b/tests/html_flow.rs index 546cb13..41f6565 100644 --- a/tests/html_flow.rs +++ b/tests/html_flow.rs @@ -209,6 +209,12 @@ p {color:blue;} ); assert_eq!( + to_html_with_options("<script>a</script\nb", &danger)?, + "<script>a</script\nb", + "should not support stopping raw if the closing tag does not have a `>`" + ); + + assert_eq!( to_html_with_options("<script>\n \n \n</script>", &danger)?, "<script>\n \n \n</script>", "should support blank lines in raw" |