From: Nuno Lopes Date: Sat, 29 Apr 2006 12:07:53 +0000 (+0000) Subject: new test that reveals problems in other places. more details on the ML X-Git-Tag: BEFORE_NEW_OUTPUT_API~350 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9e5bf64266609bdfc6666c81155227ccbc1a46d4;p=php new test that reveals problems in other places. more details on the ML --- diff --git a/ext/tidy/tests/020.phpt b/ext/tidy/tests/020.phpt new file mode 100644 index 0000000000..53ef8b7cd1 --- /dev/null +++ b/ext/tidy/tests/020.phpt @@ -0,0 +1,37 @@ +--TEST-- +OO API +--SKIPIF-- + +--FILE-- +Isto é um texto em Português
+para testes.

+EOF; + +$tidy->parseString($str, array('output-xhtml'=>1), 'latin1'); +$tidy->cleanRepair(); +$tidy->diagnose(); +var_dump(tidy_warning_count($tidy) > 0); +var_dump(strlen($tidy->errorBuffer) > 50); + +echo $tidy; +?> +--EXPECT-- +bool(true) +bool(true) + + + + + + + +

Isto é um texto em Português
+para testes.

+ +