aboutsummaryrefslogtreecommitdiffstats
path: root/tests/code_fenced.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-09 15:01:46 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-09 15:01:46 +0200
commit021d5f989ae41ae39a9b937b498141d9dc70d894 (patch)
tree8009a01d69cbd4f8200ffd34fc4031265b67406e /tests/code_fenced.rs
parent344c3db875056d4aec509f24fb2dbeaf7e2a14b6 (diff)
downloadmarkdown-rs-021d5f989ae41ae39a9b937b498141d9dc70d894.tar.gz
markdown-rs-021d5f989ae41ae39a9b937b498141d9dc70d894.tar.bz2
markdown-rs-021d5f989ae41ae39a9b937b498141d9dc70d894.zip
Add basic subtokenization, string content in fenced code
Diffstat (limited to 'tests/code_fenced.rs')
-rw-r--r--tests/code_fenced.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/code_fenced.rs b/tests/code_fenced.rs
index 46fa9cb..6419f67 100644
--- a/tests/code_fenced.rs
+++ b/tests/code_fenced.rs
@@ -219,12 +219,11 @@ fn code_fenced() {
"should support an eof in the prefix, in content"
);
- // To do: strings.
- // assert_eq!(
- // micromark("```j\\+s&copy;"),
- // "<pre><code class=\"language-j+s©\"></code></pre>\n",
- // "should support character escapes and character references in info strings"
- // );
+ assert_eq!(
+ micromark("```j\\+s&copy;"),
+ "<pre><code class=\"language-j+s©\"></code></pre>\n",
+ "should support character escapes and character references in info strings"
+ );
assert_eq!(
micromark(" ```\naaa\n ```"),