Tidy 1.0 problems

From: Date: Mon, 08 Mar 2004 05:59:06 +0000
Subject: Tidy 1.0 problems
Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-455@lists.php.net to get a copy of this message
Hello! I recently started using Tidy both on Linux (RedHat) and win32 systems. On Linux I installed it as part of PHP (by rebuilding configure with buildconf), for Windows system I fetched latest php_tidy.dll from http://snaps.php.net/win32/PECL_STABLE/ Well, I got one issue I could not find solution for. Apache does segfault when I am trying to do tidy_clean_repair() more than once. Here goes sample PHP code: <?php tidy_set_encoding('utf8'); // I guess it will react the same without these setopts's tidy_setopt('show-body-only', 1); tidy_setopt('output-xhtml', 1); tidy_setopt('word-2000', 1); tidy_setopt('clean', 1); tidy_setopt('drop-empty-paras', 1); tidy_parse_string($lead); tidy_clean_repair(); tidy_get_output(); tidy_parse_string($content); tidy_clean_repair(); $content = tidy_get_output(); ?> Because this takes place on different operational systems I guess configuration of them is not necessary. -- Kaspars Foigts http://laacz.lv/

« previous php.pecl.dev (#455) next »