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

http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=31878

While at it, also corrected indentation of ol and ul tags