note 107877 added to tidy.examples.basic
| From: | i dot c dot lovett at NOSPAM dot gmail dot com | Date: | Mon, 12 Mar 2012 20:22:30 +0000 |
| Subject: | note 107877 added to tidy.examples.basic | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-186614@lists.php.net to get a copy of this message | ||
Anyone trying to specify "indent: auto" as documented at http://tidy.sourceforge.net/docs/quickref.html#indent
<?php
$tidy_options = array('indent' => 'auto'); // WILL NOT WORK
$tidy_options = array('indent' => 2); // equivalent of auto
$tidy = new Tidy();
$tidy->parseString($html, $tidy_options);
?>
----
Server IP: 69.147.83.197
Probable Submitter: 64.102.249.6
----
Manual Page -- http://www.php.net/manual/en/tidy.examples.basic.php
Edit -- https://master.php.net/note/edit/107877
Del: integrated -- https://master.php.net/note/delete/107877/integrated
Del: useless -- https://master.php.net/note/delete/107877/useless
Del: bad code -- https://master.php.net/note/delete/107877/bad+code
Del: spam -- https://master.php.net/note/delete/107877/spam
Del: non-english -- https://master.php.net/note/delete/107877/non-english
Del: in docs -- https://master.php.net/note/delete/107877/in+docs
Del: other reasons-- https://master.php.net/note/delete/107877
Reject -- https://master.php.net/note/reject/107877
Search -- https://master.php.net/manage/user-notes.php