“Many eyes make all bugs shallow”
– Eric S. Raymond

Posts Tagged ‘xhtml’


04
Jul

I just got the title from the source, read it yourself :)

This options worked for me! I’ve been having trouble trying tidy on my CMS. But it only renders tidy’ed the content inside <body> and worst, everything outside it are stripped off – no title, and meta’s neither opening and closing html

$config = array(
  'indent'      => true,
  'output-xml'  => true,
  'input-xml'   => true,
  'wrap'        => '1000'
);

For detailed options and their uses, look at their quickref