html.Clean removed meta data event when set meta=False on Cleaner
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxml |
New
|
Undecided
|
Unassigned |
Bug Description
I have a docs that looks like this
``
!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
<html xmlns:atom="http://
As you see there is meta data in the doc.
I se the html cleaner such that meta is False and expects the meta section will be untouched.
```cleaner = Cleaner(
cleanHtml = cleaner.
```
But, the following is the result of cleanHtml,
```<html xmlns:atom="http://
```
Also, is there. way to retain the ```!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://