W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2009

Re: Fwd: Tidy support for JavaScript

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Wed, 06 May 2009 18:07:36 +0200
To: "Ivor O'Connor" <ivor.oconnor@gmail.com>
Cc: html-tidy@w3.org
Message-ID: <mad3059c2uruvchnkr1nhiip2mnj7s7vvo@hive.bjoern.hoehrmann.de>
* Ivor O'Connor wrote:
>Perhaps another developer would help here? Like myself? Seriously. This is a
>good tool. No other solutions compare to it that I know of. So I'd be
>willing to spend some time if I have a mentor who could point me in the
>right directions...

There should be a number of tools that pretty print or otherwise trans-
form JavaScript. The way to support them from Tidy would be an option
that would call them before pretty printing, and replace <script> ele-
ments with their output. Of course, it would be much easier if you'd
just use external scripts in the first place.
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Wednesday, 6 May 2009 16:08:27 UTC

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