ezyang / htmlpurifier

Standards compliant HTML filter written in PHP
http://htmlpurifier.org
GNU Lesser General Public License v2.1
3.07k stars 327 forks source link

Get the full HTML output #250

Open NimishDavid opened 4 years ago

NimishDavid commented 4 years ago

Hi,

I want to get the full HTML converted including the <html> and <head> tags. Is there any way to do this?
ezyang commented 4 years ago

HTML Purifier doesn't have support for the html and head tags, so unfortunately it is not possible at the moment.