[pmwiki-users] XLPage Escapes?
Patrick R. Michaud
pmichaud at pobox.com
Wed Oct 11 16:47:07 CDT 2006
On Wed, Oct 11, 2006 at 05:15:03PM -0400, Stirling Westrup wrote:
> What do I put on an XLPage if I want to define the translation of a
> contraction (ie, something containing a single quote)?
>
> I'd like to do something like:
>
> 'don't do that' => 'translation'
>
> Do I just backslash the tick (don\'t), double it (don''t), or have to
> find some other method?
You can use double-quotes:
"don't do that" => 'translation'
However, I just looked at the code and in this case even single
quotes will work:
'don't do that' => 'translation'
:-)
Pm
More information about the pmwiki-users
mailing list