mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-05 18:34:52 +00:00
Disable clean flag in tidy calls on new XML based docs build
Let's see if this cleans up some unintentional formatting
This commit is contained in:
@ -35,6 +35,8 @@ def load_doc_file(filename, f):
|
|||||||
if rawcontents.startswith('<?xml version="1.0" encoding="UTF-8"'):
|
if rawcontents.startswith('<?xml version="1.0" encoding="UTF-8"'):
|
||||||
# Version 10, use utf8
|
# Version 10, use utf8
|
||||||
encoding = 'utf-8'
|
encoding = 'utf-8'
|
||||||
|
# XML builds also don't need clean=1, and that one adds some interesting CSS properties
|
||||||
|
del tidyopts['clean']
|
||||||
else:
|
else:
|
||||||
encoding = 'latin1'
|
encoding = 'latin1'
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user