Fixed syntax highlighting being applied twice