tidy doesn't support html5 syntax

Bug #1029209 reported by Moses Moore on 2012-07-26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
tidy (Ubuntu)

Bug Description

Upstream (W3C?) hasn't updated the code in years, so it doesn't recognize html5 <!DOCTYPE> declaration, and throws warnings or errors on valid html5 elements.

Minor bug, maybe wishlist.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: libtidy-0.99-0 20091223cvs-1
Uname: Linux 2.6.32-042stab057.1 x86_64
Architecture: amd64
Date: Wed Jul 25 21:42:34 2012
SourcePackage: tidy

Moses Moore (moses-mozai) wrote :
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in tidy (Ubuntu):
status: New → Confirmed

See this fork with html5 support: https://github.com/w3c/tidy-html5

tags: added: precise
summary: - no support for html5
+ tidy doesn't support html5 syntax

There is a new version of Tidy (5.0.0) which has been released and which is largely backwards compatible with the 2009 Tidy that ships right now.

See https://github.com/htacg/tidy-html5 for the source repository, and this open issue


for the packaging issue. There is a desire on the part of the maintainer to have distributions pick up and offer this current release.

Janghou (janghou) wrote :

At the moment htacg/tidy-html5 offers deb binaries with conflicting version numbers.

Maybe the fork can be merged with the existing package.

Geoff R. McLane (s-ubunyu-k) wrote :

As explained in that issue, and in an Ubuntu question https://answers.launchpad.net/ubuntu/+source/tidy/+question/276623
 the https://github.com/htacg/tidy-html5 is not a fork. It is canonical
for HTML Tidy as of 2015-January-15...

first release: https://github.com/htacg/tidy-html5/releases/tag/5.0.0
last release: https://github.com/htacg/tidy-html5/releases/tag/5.1.25

There is no conflicting version numbers. This Samantic type versioning
was adopted in the first release, and will continue. And the package name
will remain tidy...

I am trying to get in touch with Jason Thomas to try to do something
about debian and ubuntu outdated tidy packages. Hopefully soon...

Janghou (janghou) wrote :

To clarify my remark #5:

I love to see the tidy package updated with HTML5 support.

I installed a deb package from https://github.com/htacg/tidy-html5. It was immediately overwritten as a security update, by the old package from 2009. Therefore I called it `conflicting`

IMHO a debian repository is an `app-store` avant la lettre. A package (app) is different from a program.

The `tidy` package is not maintained (yet) by the developers of the new tidy program, therefor I call it a fork, that can/should be merged.

It's not about tidy, it's about the deb-package tidy.

Geoff R. McLane (s-ubunyu-k) wrote :

> it's about the deb-package tidy

Absolutely! That is what it is all about, for sure... not 'conflicts' or 'forks' ;=))

On Dec 4 I sent a direct email to Jason asking about an update. No reply yet.

Even re-tested the first few of the bugs listed at -
suggesting they can be CLOSED... and offered help dealing with the rest...

Is there anything else I can do, as a tidy maintainer, to get an Ubuntu tidy deb-package updated?

dino99 (9d9) on 2016-01-21
tags: added: xenial
removed: lucid
Changed in tidy (Ubuntu):
importance: Undecided → Medium
gwern (gwern0) wrote :

This is still an issue and an increasingly serious one; the packaged version is now almost a decade out of date and missing major functionality as many tools & websites have switched to HTML5. The versioning is also unfortunate, as apt will keep trying to 'upgrade' to the obsolete one. I have been using the .debs that tidy distributes (latest: https://github.com/htacg/tidy-html5/releases/download/5.4.0/tidy-5.4.0-64bit.deb ) and they have been working great for me.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers