Fixed \XF\Template\Templater::processAttributeToRaw() does not trim strings before checking if they are empty

Jeremy P

XenForo developer
Staff member
Affected version
2.0.9
Per title, and this thread.

If you wind up with only whitespace being passed through this method (which is pretty common when there are nested conditionals), the HTML will be rendered anyways.
 
Top Bottom