From 5403261e8213f68633a09fc3e9bc2e6e2cd777b2 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 18 Jul 2022 16:31:14 +0200 Subject: Add support for turning off constructs --- tests/misc_default_line_ending.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tests/misc_default_line_ending.rs') 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() } ), "
\r

a

\r
", @@ -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? -- cgit