aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc_default_line_ending.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc_default_line_ending.rs')
-rw-r--r--tests/misc_default_line_ending.rs6
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?