htmlpurifier 4.8 업데이트

This commit is contained in:
chicpro
2016-08-29 11:03:17 +09:00
parent 3b382c0642
commit 9655c53a3b
8 changed files with 300 additions and 50 deletions

View File

@ -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;