We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56cd834 commit 23e4a91Copy full SHA for 23e4a91
src/util/unicode.rs
@@ -2,7 +2,7 @@
2
3
/// List of characters that are considered punctuation.
4
///
5
-/// > 👉 **Important**: this module is generated by `generate/src/main.rs`.
+/// > 👉 **Important**: this module is generated by `build.rs`.
6
/// > It is generate from the latest Unicode data.
7
8
/// Rust does not contain an `is_punctuation` method on `char`, while it does
tests/fuzz.rs
@@ -129,5 +129,13 @@ fn fuzz() -> Result<(), String> {
129
"12: mdx: handle invalid mdx without panic (GH-26)"
130
);
131
132
+ assert!(
133
+ matches!(
134
+ to_mdast("=\n=\n=\na\n=", &Default::default()),
135
+ Ok(mdast::Node::Root(_))
136
+ ),
137
+ "yy: setext headings next to each other (GH-31)"
138
+ );
139
+
140
Ok(())
141
}
0 commit comments