mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +00:00
LibWeb: Make tag names bold in syntax-highlighted HTML :^)
This commit is contained in:
parent
bcfde43849
commit
81641ee469
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ void SyntaxHighlighter::rehighlight(const Palette& palette)
|
|||
token->start_position().column + token_start_offset,
|
||||
token->start_position().line,
|
||||
token->start_position().column + token->tag_name().length() + token_start_offset - 1,
|
||||
{ palette.syntax_keyword(), {} },
|
||||
{ palette.syntax_keyword(), {}, false, true },
|
||||
token->is_start_tag() ? AugmentedTokenKind::OpenTag : AugmentedTokenKind::CloseTag);
|
||||
|
||||
for (auto& attribute : token->attributes()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue