mirror of
https://github.com/fergalmoran/Chrome2Kindle.git
synced 2025-12-22 17:49:14 +00:00
10 lines
269 B
Python
Executable File
10 lines
269 B
Python
Executable File
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
|