[dokuwiki] Re: protected plugin and quotes?
- From: Chris Smith <chris@xxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Mon, 19 Feb 2007 15:33:08 +0000
Martin Tschofen wrote:
I'm working on a simple plugin that wraps itself around text. Any of the
text inside should not be changed.
I set the type to 'protected' and the allowedType to a blank array (
function getAllowedTypes() { return array(''); }
).
Everything works except the quotes get changed to the html quote
entity. How
can I avoid the automatic conversion of characters?
Thanks in advance...martin
There is no automatic conversion of quote characters. Conversion is
normally done by filtering the output through htmlspecialchars() with
ENT_QUOTES. That conversion isn't automatic, but it will occur if you
use renderer->xmlEntities() method or hsc() function.
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- References:
- [dokuwiki] protected plugin and quotes?
- From: Martin Tschofen
Other related posts:
- » [dokuwiki] protected plugin and quotes?
- » [dokuwiki] Re: protected plugin and quotes?
I'm working on a simple plugin that wraps itself around text. Any of the
text inside should not be changed.
I set the type to 'protected' and the allowedType to a blank array (
function getAllowedTypes() { return array(''); }
).
Everything works except the quotes get changed to the html quote
entity. How
can I avoid the automatic conversion of characters? Thanks in advance...martin
- [dokuwiki] protected plugin and quotes?
- From: Martin Tschofen