mirror of
https://github.com/rembo10/headphones.git
synced 2026-03-21 04:09:26 +00:00
BeautifulSoup needs lxml or html5, have included html5lib. Also latest BeautifulSoup 4.1.3
10 lines
269 B
Python
10 lines
269 B
Python
from htmlserializer import HTMLSerializer
|
|
|
|
class XHTMLSerializer(HTMLSerializer):
|
|
quote_attr_values = True
|
|
minimize_boolean_attributes = False
|
|
use_trailing_solidus = True
|
|
escape_lt_in_attrs = True
|
|
omit_optional_tags = False
|
|
escape_rcdata = True
|