( Silencium | 2007. 09. 26., sze – 12:47 )

Bár csak részben fedi le az igényedet és cli, de talán hasznos lehet:

sudo apt-get tidy

HTML syntax checker and reformatter; Utility to clean up and pretty print HTML/XHTML/XML

  • HTML entity names for characters are used when appropriate.
  • Missing attribute quotes are added, and mismatched quotes found.
  • Tags lacking a terminating '>' are spotted.
  • Proprietary elements are recognized and reported as such.
  • The page is reformatted, from a choice of indentation styles.

Tidy is a product of the World Wide Web Consortium.