note 87218 added to tidy.examples
| From: | nicolas | Date: | Tue, 25 Nov 2008 09:33:45 +0000 |
| Subject: | note 87218 added to tidy.examples | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-146904@lists.php.net to get a copy of this message | ||
That seems to be the correct config to symply tidy an HTML fragment (in a valid XHTML syntax) :
<code>
$tidy_config = array(
'clean' => true,
'drop-proprietary-attributes' => true,
'output-xhtml' => true,
'show-body-only' => true,
'word-2000' => true,
'wrap' => '0'
);
</code>
----
Server IP: 69.147.83.197
Probable Submitter: 90.48.152.170
----
Manual Page -- http://www.php.net/manual/en/tidy.examples.php
Edit -- https://master.php.net/note/edit/87218
Del: integrated -- https://master.php.net/note/delete/87218/integrated
Del: useless -- https://master.php.net/note/delete/87218/useless
Del: bad code -- https://master.php.net/note/delete/87218/bad+code
Del: spam -- https://master.php.net/note/delete/87218/spam
Del: non-english -- https://master.php.net/note/delete/87218/non-english
Del: in docs -- https://master.php.net/note/delete/87218/in+docs
Del: other reasons-- https://master.php.net/note/delete/87218
Reject -- https://master.php.net/note/reject/87218
Search -- https://master.php.net/manage/user-notes.php