Added a call to htmlentities() to make it work in XHTML/XML mode.