Код: Выделить всё
$html = '
11
22
33
';
< /code>
Ожидаемый вывод: < /p>
22
< /code>
Текущий код: < /p>
$config = HTMLPurifier_Config::createDefault();
// ... other config settings
$purifier = new HTMLPurifier($config);
$cleanHtml = $purifier->purify($html);
Есть ли способ настроить htmlpurifier для их удаления?>
Подробнее здесь: https://stackoverflow.com/questions/797 ... ine-styles
Мобильная версия