Edit report at https://bugs.php.net/bug.php?id=42738&edit=1

 ID:               42738
 Updated by:       php-bugs@lists.php.net
 Reported by:      segalerez at gmail dot com
 Summary:          htmlspecialchars default quote_style set at runtime.
-Status:           Feedback
+Status:           No Feedback
 Type:             Feature/Change Request
 Package:          *General Issues
 Operating System: Irrelevant
 PHP Version:      5.2.4

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2010-04-06 19:30:53] ras...@php.net

What do you mean by quote style here?  " vs. " or do you really mean 
not 
encoding quotes at all vs. encoding them?

------------------------------------------------------------------------
[2007-09-23 03:18:45] segalerez at gmail dot com

Description:
------------
I wish that PHP had an option to set a runtime variable that sets the default 
quote style for htmlspecialchars.

Something like set_htmlspecialchars_quote_style(ENT_QUOTES);

this way I could build a PHP component that wouldn't have to deal with the 
quote style at all. if the user wants to change to quote style of my component 
he could easily set this default style.

Every page will always use one quote style, depending on wether it's an HTML or 
XHTML.



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=42738&edit=1

Reply via email to