[Pmwiki-users] Publish script glitch: ideas sought
Tue Nov 4 15:31:03 CST 2003
I have a small problem with accidental WikiWords and am looking
for ideas on how to fix it.
The publish script at
currently formats email references of the form:
[[mailto:some.mcbody at some.place Some McBody]]
to display as
''Some McBody'' [[[mailto:some.mcbody at some.place some.mcbody at some.place]]]
which should render as
Some McBody [some.mcbody at some.place]
where the name is in italics.
But McBody gets picked up as a WikiWord and renders as a link to
Mc Body (spaced wiki words is on).
I have patched it with a local customisation that uses a back-tick
to escape wikiwords -- it becomes `McBody which displays as McBody.
This solves the problem, but I can't help feeling that there is a
The original code reads:
"''$2'' [[[mailto:$1 $1]]]";
I guess this falls into the "get over it" category and it's a
trivial problem, although the Scots and Irish may not agree.
If anybody has a bright idea, it would be greatly appreciated.
In an ideal world, it would be nice to write something like:
"<cite>\$Addressee</cite> [<a href='mailto:\$Address'>\$Address</a>]";
and have it just work.
More information about the pmwiki-users