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

View File

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