Skip to content

Commit

Permalink
Add a nit in a comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkende committed May 17, 2024
1 parent 453e118 commit d05328c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions t/800-bugs.t
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ todo 'New lines are forbidden in link dest' => sub {
# not check for new-line inside non-text nodes, inside the span delimited by
# the outer brackets (like it does if the link destination is not in
# brackets).
# Maybe it’s not a bug, because the CommonMark implementation itself considers
# that <foo bar> is an HTML tag (which is probably not the correct way to
# parse it, but the spec is unclear).
is(run("[link](<dest <foo\nbar>>)"), "<p>[link](&lt;dest <foo\nbar>&gt;)</p>\n", 'newline in bracket in bracket in link');
};

Expand Down

0 comments on commit d05328c

Please sign in to comment.