diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-04 12:16:51 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-04 12:16:58 +0200 |
commit | faca28020f4894bdfcf5a4b164ebbc75864d8776 (patch) | |
tree | 93377413ae8c355e2d804f7e700241693b228e70 /tests/hard_break_escape.rs | |
parent | e1cae8c705e66669d043f5269e9f58c09c7b0eaa (diff) | |
download | markdown-rs-faca28020f4894bdfcf5a4b164ebbc75864d8776.tar.gz markdown-rs-faca28020f4894bdfcf5a4b164ebbc75864d8776.tar.bz2 markdown-rs-faca28020f4894bdfcf5a4b164ebbc75864d8776.zip |
Add support for attention (emphasis, strong)
Diffstat (limited to 'tests/hard_break_escape.rs')
-rw-r--r-- | tests/hard_break_escape.rs | 11 |
1 files changed, 5 insertions, 6 deletions
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*"), - // "<p><em>foo<br />\nbar</em></p>", - // "should support escape hard breaks in emphasis" - // ); + assert_eq!( + micromark("*foo\\\nbar*"), + "<p><em>foo<br />\nbar</em></p>", + "should support escape hard breaks in emphasis" + ); assert_eq!( micromark("``code\\\ntext``"), |