[#31878] Follow-up after error pages update on #31724 (XSS hardening)

http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=31878