Re: HTML5 Tidy [was: Undeprecating <s> and <u> tags]

> Sources for an HTML5 fork of Tidy here:
>
> https://github.com/w3c/tidy-html5<http://www.google.com/url?sa=D&q=https://github.com/w3c/tidy-html5>
>
Perfect, this was exactly what I was looking for. Thanks!

The other thing I was looking for in an HTML5-patched version of Tidy is
the ability to wrap block-level tags with anchor tags. E.g.:

<a href="foo.html">
  <div id="bar">Hello World</div>
</a>

The HTML5 Tidy fork (as well as the non-HTML5 fork) currently outputs it as:

<a href="foo.html"></a>
<div>Hello World</div>

Does anyone know how I might be able to work around this?

Thanks!
Steven

> <http://www.google.com/url?sa=D&q=https://github.com/w3c/tidy-html5>
>
>

Received on Saturday, 18 February 2012 17:43:14 UTC