aboutsummaryrefslogtreecommitdiffstats
path: root/tests/character_reference.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-15 18:17:01 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-15 18:17:01 +0200
commitacc35758778bfda5cb01951533868eb8baa2e2d2 (patch)
tree82ded1c1f88d04a1c37e40822ad7e5a6bba8a717 /tests/character_reference.rs
parent75dcb48f78a8a798fde525d2d39e20cffec48e50 (diff)
downloadmarkdown-rs-acc35758778bfda5cb01951533868eb8baa2e2d2.tar.gz
markdown-rs-acc35758778bfda5cb01951533868eb8baa2e2d2.tar.bz2
markdown-rs-acc35758778bfda5cb01951533868eb8baa2e2d2.zip
Add code (text)
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 5e71792..e351088 100644
--- a/tests/character_reference.rs
+++ b/tests/character_reference.rs
@@ -74,12 +74,11 @@ fn character_reference() {
"should support character references in code language"
);
- // To do: code (text).
- // assert_eq!(
- // micromark("`f&ouml;&ouml;`"),
- // "<p><code>f&amp;ouml;&amp;ouml;</code></p>",
- // "should not support character references in text code"
- // );
+ assert_eq!(
+ micromark("`f&ouml;&ouml;`"),
+ "<p><code>f&amp;ouml;&amp;ouml;</code></p>",
+ "should not support character references in text code"
+ );
assert_eq!(
micromark(" f&ouml;f&ouml;"),