Re: HTML5 Tidy [was: Undeprecating <s> and <u> tags]
Steven Le <[email protected]> Sat, 18 Feb 2012 09:42:07 -0800 (PST)
| Newsgroups | gmane.comp.web.html-tidy.user,gmane.comp.web.html-tidy.devel |
|---|---|
| Message-ID | <1904385101.928.1329586927920.JavaMail.mtrx@pacur6> |
--00235429c81890444704b9409411 Content-Type: text/plain; charset=ISO-8859-1 > 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> > > --00235429c81890444704b9409411 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <br><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"m= argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Sources fo= r an HTML5 fork of Tidy here:</p><p> <a href=3D"http://www.google.com/url?= sa=3DD&q=3Dhttps://github.com/w3c/tidy-html5">https://github.com/w3c/ti= dy-html5</a></p> </blockquote><div>Perfect, this was exactly what I was looking for. Thanks!= </div><div><br></div><div>The other thing I was looking for in an HTML5-pat= ched version of Tidy is the ability to wrap block-level tags with anchor ta= gs. E.g.:</div> <div><br></div><div><a href=3D"foo.html"></div><div>=A0 <= ;div id=3D"bar">Hello World</div></div><div></a></= div><div><br></div><div>The HTML5 Tidy fork (as well as the non-HTML5 fork)= currently outputs it as:</div> <div><br></div><div><div><a href=3D"foo.html"></a></d= iv><div><div>Hello World</div></div></div><div><br></div><div>D= oes anyone know how I might be able to work around this?</div><div><br></di= v> <div>Thanks!</div><div>Steven</div><blockquote class=3D"gmail_quote" style= =3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p><a hr= ef=3D"http://www.google.com/url?sa=3DD&q=3Dhttps://github.com/w3c/tidy-= html5"></a></p> <p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></= p><p></p></blockquote></div> --00235429c81890444704b9409411--