-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
body element removed #432
Comments
setting
|
added a print statement into the source code and it definitely isn't executing this code block but it definitely is still extracting the body some other way: // extract body from document if applicable
if ($config->get('Core.ConvertDocumentToFragment')) {
$e = false;
if ($config->get('Core.CollectErrors')) {
$e =& $context->get('ErrorCollector');
}
$new_html = $this->extractBody($html);
if ($e && $new_html != $html) {
$e->send(E_WARNING, 'Lexer: Extracted body');
}
$html = $new_html;
} |
while I am trying to purify an entire document, this issue doesn't mention the |
input:
output:
is it possible to configure htmlpurifier to allow the body element?
edit: the original output I included was modified by my web browser, I got the actual purifier output with print debugging
The text was updated successfully, but these errors were encountered: