Skip to content

Commit

Permalink
test: link in heading
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianMurphy committed Oct 28, 2022
1 parent 5d5e945 commit a79cc82
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/fuzz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,11 @@ fn fuzz() -> Result<(), String> {
"9: autolink literals that end in table cell delimiter (GH-20)"
);

assert_eq!(
to_html("[:]:a\n-\na\n-"),
"<h2>-\na</h2>",
"10: handle link in heading"
);

Ok(())
}

0 comments on commit a79cc82

Please sign in to comment.