Instead of doing CGI.escape before textilizing test use filter_html method