Homec4science

htmlutils: improve remove_html_markup() function

Authored by Nikolaos Kasioumis <nikolaos.kasioumis@cern.ch> on Feb 2 2012, 18:25.

Description

htmlutils: improve remove_html_markup() function

  • Adds an optional boolean argument to the remove_html_makrup() function, which controls whether unescaped characters like '&amp;', '&lt;', '&gt;' and '&quot;' are also removed. (closes #895)
  • Adds a new function to htmlutils called unescape() as the opposite of the cgi.escape() function.

Details

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:7b36792cd288: htmlutils: improve remove_html_markup() function (authored by Nikolaos Kasioumis <nikolaos.kasioumis@cern.ch>).Feb 10 2012, 12:36