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/hard_break_escape.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'tests/hard_break_escape.rs') diff --git a/tests/hard_break_escape.rs b/tests/hard_break_escape.rs index 740e706..a486ade 100644 --- a/tests/hard_break_escape.rs +++ b/tests/hard_break_escape.rs @@ -15,12 +15,11 @@ fn hard_break_escape() { "should support leading spaces after an escape hard break" ); - // To do: attention. - // assert_eq!( - // micromark("*foo\\\nbar*"), - // "

foo
\nbar

", - // "should support escape hard breaks in emphasis" - // ); + assert_eq!( + micromark("*foo\\\nbar*"), + "

foo
\nbar

", + "should support escape hard breaks in emphasis" + ); assert_eq!( micromark("``code\\\ntext``"), -- cgit