Add ugly compatibility workaround for unescaped [ within image elements
Switch escaping to use \ as escape char (\ --> \\\\ | [ -> \\[ | ] --> \\] | ; --> \\;)