W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2012

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

From: Steven Le <stevenle@google.com>
Date: Sat, 18 Feb 2012 09:42:07 -0800 (PST)
Message-ID: <1904385101.928.1329586927920.JavaMail.mtrx@pacur6>
To: "Michael[tm] Smith" <mike@w3.org>
Cc: html-tidy@w3.org, tidy-develop@lists.sourceforge.net
> 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>

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?


> <http://www.google.com/url?sa=D&q=https://github.com/w3c/tidy-html5>
Received on Saturday, 18 February 2012 17:43:14 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:58 UTC