syntax: html: colorize specially the other two emphasizing tags too

In most cases, <em> behaves like <i> and <strong> behaves like <b>,
so it makes sense to treat all of them in the same manner.
This commit is contained in:
Benno Schulenberg 2023-01-05 16:08:19 +01:00
parent a3c7de8a50
commit 298447e22d
1 changed files with 2 additions and 2 deletions

View File

@ -8,8 +8,8 @@ formatter tidy -m -q
# Tags:
color cyan "<[[:alpha:]/!?][^>]*>"
# Bold, italic, and underlined:
color brightmagenta "</?[biu]>"
# Bold, italic, underlined, emphasis, and importance:
color brightmagenta "</?(b|i|u|em|strong)>"
# Named character references:
color red "&[^;[:space:]]*;"