We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36a7aa1 commit 9a1ca99Copy full SHA for 9a1ca99
tests/fuzz.rs
@@ -130,6 +130,15 @@ fn fuzz() -> Result<(), String> {
130
to_html("[:]:a\n-\na\n-"),
131
"<h2>-\na</h2>",
132
"10: handle link in heading"
133
+ to_html("[:]:a\n-\na\n-"),
134
+ "<h2>-\na</h2>",
135
+ "xx: handle link in heading (GH-22)"
136
+ );
137
+
138
+ assert_eq!(
139
+ to_html("a\n-\n--\na\n-"),
140
+ "<h2>a</h2>\n<h2>--\na</h2>",
141
+ "xx: two setext headings next to each other (GH-22)"
142
);
143
144
Ok(())
0 commit comments