Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -1131,6 +1131,7 @@ static void parser_parse_in_data_state(parser_T* parser, array_T* children, arra
parser,
TOKEN_AMPERSAND,
TOKEN_AT,
TOKEN_BACKTICK,
TOKEN_CHARACTER,
TOKEN_COLON,
TOKEN_DASH,
Expand Down
4 changes: 4 additions & 0 deletions test/parser/text_content_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -141,5 +141,9 @@ class TextContentTest < Minitest::Spec
test "at symbol in attribute value" do
assert_parsed_snapshot('<a href="mailto:support@example.com">Contact @support</a>')
end

test "backtick with HTML tags - issue 467" do
assert_parsed_snapshot("a `<b></b>` c")
end
end
end

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading