Skip to content

Commit

Permalink
test: link with title and newline
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianMurphy committed Aug 15, 2023
1 parent 56cd834 commit a1449fa
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 @@ -129,5 +129,11 @@ fn fuzz() -> Result<(), String> {
"12: mdx: handle invalid mdx without panic (GH-26)"
);

assert_eq!(
to_html("[](a (a \n))"),
"<p><a href=\"a\" title=\"a \n\"></a></p>",
"yy: link and title with newline (GH-79)"
);

Ok(())
}

0 comments on commit a1449fa

Please sign in to comment.