aboutsummaryrefslogtreecommitdiffstats
path: root/tests/character_reference.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-04 12:16:51 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-04 12:16:58 +0200
commitfaca28020f4894bdfcf5a4b164ebbc75864d8776 (patch)
tree93377413ae8c355e2d804f7e700241693b228e70 /tests/character_reference.rs
parente1cae8c705e66669d043f5269e9f58c09c7b0eaa (diff)
downloadmarkdown-rs-faca28020f4894bdfcf5a4b164ebbc75864d8776.tar.gz
markdown-rs-faca28020f4894bdfcf5a4b164ebbc75864d8776.tar.bz2
markdown-rs-faca28020f4894bdfcf5a4b164ebbc75864d8776.zip
Add support for attention (emphasis, strong)
Diffstat (limited to 'tests/character_reference.rs')
-rw-r--r--tests/character_reference.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/character_reference.rs b/tests/character_reference.rs
index c87657e..dec1d0c 100644
--- a/tests/character_reference.rs
+++ b/tests/character_reference.rs
@@ -85,12 +85,11 @@ fn character_reference() {
"should not support character references in indented code"
);
- // To do: attention.
- // assert_eq!(
- // micromark("&#42;foo&#42;\n*foo*"),
- // "<p>*foo*\n<em>foo</em></p>",
- // "should not support character references as construct markers (1)"
- // );
+ assert_eq!(
+ micromark("&#42;foo&#42;\n*foo*"),
+ "<p>*foo*\n<em>foo</em></p>",
+ "should not support character references as construct markers (1)"
+ );
// To do: list.
// assert_eq!(