Correction ...
Oops, made a boo-boo: the web app doesn't ignore escape-sequenced text; the browser ignores it. The web app generates the escape sequences so that the browser will ignore the script commands and instead display straight text.
But you folks knew what I meant, right?