mirror of
https://github.com/fergalmoran/Chrome2Kindle.git
synced 2025-12-24 02:28:10 +00:00
Initial upload
This commit is contained in:
9
server/html5lib/serializer/xhtmlserializer.py
Executable file
9
server/html5lib/serializer/xhtmlserializer.py
Executable file
@@ -0,0 +1,9 @@
|
||||
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
|
||||
Reference in New Issue
Block a user