Fixed Syntax highlighting not working in templates.

Affected version

Chris D

XenForo developer
Staff member
This is a valid bug report so I'm not sure I understand why you asked us to delete it. I have restored the message content back to the original report.


Well-known member
Thank you for restoring the bug report, Chris.

It was broke yesterday, then when I looked at a template today which didn't have a <xf:css ... /> it worked, so I just assumed it was a browser issue. But yes it's broke on any template with <xf:css ... /> in it.


XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.1.8).

Change log:
Reverse some changes related to template editing syntax highlighting which may actually break syntax highlighting entirely in some cases.
There may be a delay before changes are rolled out to the XenForo Community.