note 100391 rejected from function.htmlentities by danbrown
| From: | danbrown@php.net | Date: | Wed, 13 Oct 2010 21:32:45 +0000 |
| Subject: | note 100391 rejected from function.htmlentities by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-173191@lists.php.net to get a copy of this message | ||
Note Submitter: php dot net at softmoon-webware dot com
----
Regarding my just posted function (see below):
despite careful attention, the typo crept in. Or didn't get removed, even though I used global
search and replace.
In the definition for the $userOpts array, $skip_DQuotes should be $skip_Quotes.
And I tried again and again to shrink it down to fit the comments limit. I meant to change the
default settings for $strip_formatting=FALSE and $tabspacing=8, to more properly reflect real world
needs, not my latest project. And be careful about the default setting for $allowJS, and the HTML
tags you allow, if you want to use this for $_POSTs from the WWW.
Beyond that, I think it survived the mutilation needed to fit it in...
Most options are TRUE/FALSE with $collapse_spaces also allowing "toXHTML"; otherwise the
option 'should' (ahem-cough-cough) be self explanatory.
Peace, y'all!!!