encodeForHtml()(новое в CF10) и htmlEditFormat(), чем они отличаются?
encodeForHtml()
htmlEditFormat()