note 95286 added to tidy.examples
| From: | DmitriSnytkinecms dot lampcms dot com at osu1 dot php dot net | Date: | Wed, 23 Dec 2009 22:26:38 +0000 |
| Subject: | note 95286 added to tidy.examples | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-164290@lists.php.net to get a copy of this message | ||
Important notice about configuration options:
If you read the quickref on this page:
http://tidy.sourceforge.net/docs/quickref.html
you may get an idea that the boolean values for config options can be set as 'y' or
'yes' or 'n' or 'no'
but that's not true for the tidy extension in php.
Boolean values MUST be set only as true or false (without quotes or cause), otherwise tidy just
ignores your configuration. It will not raise any error or warning but will just ignore your
'yes' or 'no' values.
For example, this config array will not have the desired effect:
$config = array('drop-proprietary-attributes' => 'yes');
You must set option to true:
$config = array('drop-proprietary-attributes' => true);
----
Server IP: 208.69.120.55
Probable Submitter: 75.97.204.207
----
Manual Page -- http://www.php.net/manual/en/tidy.examples.php
Edit -- https://master.php.net/note/edit/95286
Del: integrated -- https://master.php.net/note/delete/95286/integrated
Del: useless -- https://master.php.net/note/delete/95286/useless
Del: bad code -- https://master.php.net/note/delete/95286/bad+code
Del: spam -- https://master.php.net/note/delete/95286/spam
Del: non-english -- https://master.php.net/note/delete/95286/non-english
Del: in docs -- https://master.php.net/note/delete/95286/in+docs
Del: other reasons-- https://master.php.net/note/delete/95286
Reject -- https://master.php.net/note/reject/95286
Search -- https://master.php.net/manage/user-notes.php