Fixed Code editor: "</" results in "</undefined>" if textarea was empty


Active member
Affected version

yes, I know, I know. I created a template modification for the sole purpose of changing something in my <head> across all styles. Which didn't work so well as a standard template edit because all styles already have a modified PAGE_CONTAINER. So nothing we could inherit.

If I have it "find":

It auto-completes to

after I type "</".

I mean, makes sense, because the box is empty, so there is nothing I could want to close. But also does not make sense because I don't actually want to type HTML code but rather find a reference.

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.2.2).

Change log:
Disable auto closing HTML tags in the template modification find and replace inputs.
There may be a delay before changes are rolled out to the XenForo Community.