Project | WXT | Basics | Download | Documentation | Samples

Tidy

WXT will in some situations perform an attempt to tidy input. This job is performed with Tidy [22] .

Tidy is not prepared for HTML5, and the use of Tidy on HTML5 source is problematic. WXT is prepared to handle rather trivial situations when you import source material form webpages. You should not rely on the tidyprocess if you have control on the XML-input.

Tidy is controlled by a set of attributes. When WXT attempts to do a tidy-job, it works with the following attributes (line-break for readability).


new-blocklevel-tags:article,aside,canvas,audio,figure,footer,header,
                    hgroup,nav,section,summary,video,datalist,details,progress,ruby
new-empty-tags:command,embed,eventsource,keygen,meter,source,wbr
new-inline-tags:figcaption,mark,output,rp,rt,time
input-xml:no
output-xml: yes
markup: yes
add-xml-decl: yes
assume-xml-procins:yes
indent:yes
escape-cdata:no
clean:no
fix-backslash:yes

You may change tis with a attribute-file, see option tidy-input.