fix simple_format escapes own output when sanitize is set to true
Merge pull request #12760 from pseidemann/master

fix simple_format escapes own output when sanitize is set to true