Skip to content

Commit a79cc82

Browse files
test: link in heading
1 parent 5d5e945 commit a79cc82

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/fuzz.rs

+6
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,11 @@ fn fuzz() -> Result<(), String> {
104104
"9: autolink literals that end in table cell delimiter (GH-20)"
105105
);
106106

107+
assert_eq!(
108+
to_html("[:]:a\n-\na\n-"),
109+
"<h2>-\na</h2>",
110+
"10: handle link in heading"
111+
);
112+
107113
Ok(())
108114
}

0 commit comments

Comments
 (0)