From faca28020f4894bdfcf5a4b164ebbc75864d8776 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 4 Jul 2022 12:16:51 +0200 Subject: Add support for attention (emphasis, strong) --- tests/html_flow.rs | 127 ++++++++++++++++++++++++----------------------------- 1 file changed, 58 insertions(+), 69 deletions(-) (limited to 'tests/html_flow.rs') diff --git a/tests/html_flow.rs b/tests/html_flow.rs index 3b69671..348da8d 100644 --- a/tests/html_flow.rs +++ b/tests/html_flow.rs @@ -98,12 +98,11 @@ p {color:blue;} "should support raw tags w/o ending" ); - // To do: attention. - // assert_eq!( - // micromark_with_options("\n*foo*", DANGER), - // "\n

foo

", - // "should support raw tags w/ start and end on a single line" - // ); + assert_eq!( + micromark_with_options("\n*foo*", DANGER), + "\n

foo

", + "should support raw tags w/ start and end on a single line" + ); assert_eq!( micromark_with_options("1. *bar*", DANGER), @@ -129,12 +128,11 @@ p {color:blue;} "should not support an eof after a self-closing slash" ); - // To do: attention. - // assert_eq!( - // micromark_with_options("