MDL-55087 lib: Update htmlpurifier to v4.8.0.

This commit is contained in:
Adrian Greeve
2016-10-17 08:43:41 +08:00
parent 6a69cda97d
commit b36b997b7f
32 changed files with 300 additions and 55 deletions
@@ -327,6 +327,10 @@ class HTMLPurifier_Printer_ConfigForm_default extends HTMLPurifier_Printer
case HTMLPurifier_VarParser::HASH:
$nvalue = '';
foreach ($value as $i => $v) {
if (is_array($v)) {
// HACK
$v = implode(";", $v);
}
$nvalue .= "$i:$v" . PHP_EOL;
}
$value = $nvalue;