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

TLDR

Active member
Affected version
2.2.1
Hi,

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.

Anyway.
If I have it "find":
</head>

It auto-completes to
</undefined>

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.
 
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.
 
Top Bottom