[pmwiki-users] Rendering problem: \" instead of "

Patrick R. Michaud pmichaud at pobox.com
Tue Mar 14 19:22:15 CST 2006


On Tue, Mar 14, 2006 at 05:45:59PM -0600, Glenn Blalock wrote:
> I thought I'd seen this problem referenced on the list, but can't find it.
> I'm using 2.1.1.  
> 
> I'm typing this to create links with quoted text:
> 
> [[... is "question."]]
> [[... is "question-visual rhetoric."]]
> 
> But it translates to this:
> 
> is \"question.\"
> 
> is \"question-visual rhetoric.\" 
> 
> How do we get rid of the \?

Does it only occur in links or does it also occur elsewhere?

Also, are you doing the quotes as part of the link text or
the pagename?  PmWiki doesn't deal well with quotes in pagenames,
but I tested it both ways on pmwiki.org and didn't get the slashes.

If you can set $EnableDiag = 1;, you might try ?action=phpinfo and
see if "magic_quotes_runtime" is set to "On".  If so, you'll
want to turn it off in local/config.php:

    set_magic_quotes_runtime(false);

Let me know if this works so I can add it to the Troubleshooting page.
But, come to think of it, PmWiki already does this by default so
that shouldn't be the problem.  (It might be set administratively
such that a script cannot disable it.)

Are there any recipes being loaded?  Perhaps one of them is
adding the slashes in front of the quotes -- it's an easy thing
to overlook.

Pm




More information about the pmwiki-users mailing list