Escaping text in headings

A small patch that escapes the text in headings.

Other than the obvious security holes, this was also breaking abiword conversion