diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-18 16:31:14 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-18 16:31:14 +0200 |
commit | 5403261e8213f68633a09fc3e9bc2e6e2cd777b2 (patch) | |
tree | bb3a6419ef42f7611c2cb24fe7024228f579331b /tests/misc_default_line_ending.rs | |
parent | 03544cafaa82ba4bd7e0bc3372fc59549a8dc0cc (diff) | |
download | markdown-rs-5403261e8213f68633a09fc3e9bc2e6e2cd777b2.tar.gz markdown-rs-5403261e8213f68633a09fc3e9bc2e6e2cd777b2.tar.bz2 markdown-rs-5403261e8213f68633a09fc3e9bc2e6e2cd777b2.zip |
Add support for turning off constructs
Diffstat (limited to 'tests/misc_default_line_ending.rs')
-rw-r--r-- | tests/misc_default_line_ending.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/misc_default_line_ending.rs b/tests/misc_default_line_ending.rs index 8c2f047..ceada62 100644 --- a/tests/misc_default_line_ending.rs +++ b/tests/misc_default_line_ending.rs @@ -32,8 +32,7 @@ fn default_line_ending() { "> a", &Options { default_line_ending: Some(LineEnding::CarriageReturn), - allow_dangerous_html: false, - allow_dangerous_protocol: false + ..Options::default() } ), "<blockquote>\r<p>a</p>\r</blockquote>", @@ -45,8 +44,7 @@ fn default_line_ending() { "> a\n", &Options { default_line_ending: Some(LineEnding::CarriageReturn), - allow_dangerous_html: false, - allow_dangerous_protocol: false + ..Options::default() } ), // To do: is this a bug in `micromark.js` that it uses `\r` for earlier line endings? |