Fixed Editing template modification that includes a space at the end of pattern removes space

Affected version
2.1.0

Jon W

Well-known member
If I edit a template mod that includes a space at the of the Find/Replace pattern, in the editor the space is removed, which then removes the space on save.

If there is no way around this, then it should probably just remove spaces on save, so that at least the developer knows that he needs to change his pattern to not require a space.
 

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XF release (2.1.1).

Change log:
Ensure that textareas and code editors do not trim the values received before they are displayed.
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Top