[pmwiki-users] Disabling WikiWords in custom markup
Jeff Ullmann
JeffUllmann at navio.com
Wed Dec 14 11:15:07 CST 2005
I am trying to create a Markup that will take something like
_av_Click
Here|MFNGOfferNoShare|1|mfngPID=1019&mfngCID=18452&mfngNetCN=123063&mfngTitl
eName=Alicia%20Keys%20-%20I%20dont%20like%20to%20share|_av_
And insert
<a
href='javascript:window.top.Navio.Buy("MFNGOfferNoShare","1","mfngPID=1019&m
fngCID=18452&mfngNetCN=123063&mfngTitleName=Alicia%20Keys%20-%20I%20dont%20l
ike%20to%20share");'>Click Here</a>
Into a wiki page.
I have some markup that works with one exception. Element 2,
"MFNGOfferNoShare", is getting treated as a WikiWord, which of course breaks
the link I'm trying to create.
The markup I've tried is relatively simple
Markup('av','inline',
"/(?>_av_([^|]+)[|]([^|]+)[|]([^|]+)[|]([^|]+)_av_)/",
"[=<a
href='javascript:window.top.Navio.Buy(\"$2\",\"$3\",\"$4\");'>$1</a>=]");
Any thoughts or suggestions?
Thanks
jU?
+1.408-777-2734
+1.408.777.2790 /fax
20400 Stevens Creek Blvd. , Suite 750
Cupertino, CA 95014, USA
NAVIO
Collect, Share, Trade
http://www.navio.com/ <http://www.navio.com/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3133 bytes
Desc: not available
Url : /pipermail/pmwiki-users/attachments/20051214/6efe4f51/attachment.bin
More information about the pmwiki-users
mailing list