diff --git a/syntax/html.syntax b/syntax/html.syntax
index 8d8bdcfff..4a4ac05d0 100644
--- a/syntax/html.syntax
+++ b/syntax/html.syntax
@@ -1,5 +1,7 @@
context default
- keyword whole &*; brightgreen/16
+ keyword &\[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\]; brightgreen/16
+ keyword \{xX\}\[0123456789abcdefABCDEF\]; brightgreen/16
+ keyword \[0123456789\]; brightgreen/16
spellcheck
context brown/22