Questions tagged [htmltidy]

HTML Tidy is an html formatter used to pretty print existing markup.

168 questions
0
votes
1 answer

PHP/HTML Tidy: anchor-as-name = no doesn't seem to work?

I'm using PHP Tidy as an included script, and while it seems to mostly (if imperfectly) work, it doesn't seem to work to remove the name attributes from my tags. I've tried everything to remove them, including removing them using PHP Simple HTML DOM…
Erika S
  • 11
  • 3
0
votes
2 answers

How do I stop HTML Tidy from removing my closing tag?

Currently HTML Tidy is changing any empty HTML tag and combining them into one, for example: Turns into: