W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2012

Re: bug

From: John Coggeshall <johncogg@gmail.com>
Date: Fri, 3 Aug 2012 15:00:14 -0400
Message-ID: <-6067815410777052285@unknownmsgid>
To: Denny Swindle <dscraigslist321@gmail.com>
Cc: "html-tidy@w3.org" <html-tidy@w3.org>
Can you provide a backtrace? I'm the original author of the tidy PHP extension.

John

On Aug 3, 2012, at 11:30 AM, Denny Swindle <dscraigslist321@gmail.com> wrote:

> Hi -
>
> First off, is tidy being maintained anymore?  We use it heavily in production and would love to see some updates.
>
> Second - have a potential bug.  We're using the php module "Extension Version" 2.0 ($Id$) (dated 14 June 2007).  We're running on php 5.3.15. Our php code looks like:
>
> $tidy = new \tidy();
>
> $updated = $tidy->repairString($content,
>         array(
>             'bare' => true,
>             'clean' => true,
>             'drop-empty-paras' => true,
>             'drop-font-tags' => true,
>             'join-styles' => true,
>             'word-2000' => true,
>             'output-xhtml' => true,
>             'wrap' => 0,
>             'output-bom' => false,
>             'show-body-only' => true,
>             'drop-proprietary-attributes' => true
>         ), 'UTF8');
>
> When I pass the content in the attached file through repairString, it crashes.  Would love some advice.
> <text.txt>
Received on Sunday, 5 August 2012 21:22:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 5 August 2012 21:22:57 GMT