MDL-12724 import of html purifier 2.1.3; merged from MOODLE_19_STABLE

This commit is contained in:
skodak
2007-12-24 21:08:39 +00:00
parent 2905da9c66
commit ba7d966bae
22 changed files with 222 additions and 99 deletions
@@ -195,7 +195,7 @@ class HTMLPurifier_Strategy_FixNesting extends HTMLPurifier_Strategy
//################################################################//
// Process result by interpreting $result
if ($result === true) {
if ($result === true || $child_tokens === $result) {
// leave the node as is
// register start token as a parental node start