FAQ

cvs: presentations /slides/extending-tidy ext3.xml

Jim winstead
Oct 22, 2003 at 10:23 pm
jimw Wed Oct 22 18:23:45 2003 EDT

Modified files:
/presentations/slides/extending-tidy ext3.xml
Log:
silence expected warnings from parsing string

Index: presentations/slides/extending-tidy/ext3.xml
diff -u presentations/slides/extending-tidy/ext3.xml:1.2 presentations/slides/extending-tidy/ext3.xml:1.3
--- presentations/slides/extending-tidy/ext3.xml:1.2 Wed Oct 22 17:52:53 2003
+++ presentations/slides/extending-tidy/ext3.xml Wed Oct 22 18:23:45 2003
@@ -7,7 +7,7 @@
<example title="HTML Tidy Sample Extension" type="php" result="1" required_extension="tidy" ><![CDATA[<?php
$tidy = tidy_create();
tidy_set_option($tidy, "show-body-only", "yes");
-tidy_parse_string($tidy, "<b>foo <i>bar</b></i>");
+@tidy_parse_string($tidy, "<b>foo <i>bar</b></i>");
tidy_clean_and_repair($tidy);
ob_start();
tidy_output($tidy);
reply

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›

1 user in discussion

Jim winstead: 2 posts