]> git.mjollnir.org Git - moodle.git/commit
format_text now does a clean_text after all the filters, for added safety
authormoodler <moodler>
Mon, 9 Aug 2004 14:54:39 +0000 (14:54 +0000)
committermoodler <moodler>
Mon, 9 Aug 2004 14:54:39 +0000 (14:54 +0000)
commit9d40806d0ec7be5bfe1717176a19eac52616dbc4
tree9d3e7d2ed297328c364c064c268714a83948a0d3
parent43cbfc19992abfcef475af9ef4f28c5c1ef8474e
format_text now does a clean_text after all the filters, for added safety

Practically all printed text in Moodle should use this function

If you don't want to clean the text of unwanted tags and scripts, then
set the parameter $options->noclean
lib/weblib.php