[seedit] Tidy and HTML5

  • From: Sven E Olsson <seeditmaxi@xxxxxxxxx>
  • To: seeditmaxi@xxxxxxxxxxxxx
  • Date: Sat, 20 Aug 2011 21:48:13 +0200

Hi list!
As is known Tidy do not work properly with HTML5 documents. 
To get cleaner warnings from Tidy add the html5 tags to new-blocklevel-tags. 
Look at the bottom of the example.

If your html document is html5, SEEdit do not check it by auto (get to many 
warnings), you need to use the Tools Menu - Syntax Debugging.

Copy and paste the example or just add the html5 tags to the Tidy config file 
available from the SEEdit Preferences.

Always use the SEEdit Tool "Server Check Documents…" or the Site Window 
contextual menu "W3 Syntax Check" to check the uploaded documents on the server.

/ sample config file for HTML tidy and html5 2011-08-20 SEO
indent: yes
indent-spaces: 6
wrap: 120
markup: yes
output-xml: no
output-xhtml: yes
input-xml: no
tidy-mark: no
show-warnings: yes
numeric-entities: no
quote-marks: yes
quote-nbsp: yes
quote-ampersand: no
break-before-br: no
uppercase-tags: no
uppercase-attributes: no
add-xml-decl: yes
add-xml-space: yes
char-encoding: utf8
write-back: yes
quiet: no
new-inline-tags: cfif, cfelse, math, mroot, mrow, mi, mn, mo, msqrt, mfrac, 
msubsup, munderover, munder, mover, mmultiscripts, msup, msub, mtext, 
mprescripts, mtable, mtr, mtd, mth
new-blocklevel-tags: cfoutput, cfquery, nav, header, section, article, aside, 
new-empty-tags: cfelse

Regards from Sweden,
Sven E

Sven E Olsson

Skype: seeditonskype

Post a Question ( new thread/subject ): seeditmaxi@xxxxxxxxxxxxx
Answer a Question: Reply
To Unsubscribe/Subscribe visit: http://seeditmaxi.cachefly.net/freelist.html

Other related posts:

  • » [seedit] Tidy and HTML5 - Sven E Olsson