<div>I used to have your problem and it disappears when I realize it ...</div>
<div>Maybe you should change the second parameter of the Markup() function, i.e., to "<if". It seems that may work. But I don't know why for the sequence of the markups also confuses me<br><br> </div>
<div><span class="gmail_quote">On 8/15/06, <b class="gmail_sendername">Luis Fernandez</b> <<a href="mailto:dropmeaword@yahoo.com">dropmeaword@yahoo.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi all,<br><br>I've created a custom wiki tag (:latinamerica:) that<br>simply dumps an image map of latinamerica that takes
<br>you to different pages of the wiki when you click on<br>any country. Creating the custom markup was easy<br>enough, here's how it's registered:<br><br>Markup("latinamerica", "_end",<br>"/\\(:latinamerica:\\)/", GetMapOfLatinAmerica());
<br><br>Here's the implementation of the custom wiki markup:<br><br>function GetMapOfLatinAmerica() {<br>global $UserInstanceVars, $Author, $WikiTitle,<br>$pagename, $UserAuthAllowCookie, $PubDirUrl;<br><br>$map_markup = "<HTML OF THE IMAGE MAP>";
<br><br>return FmtPageName($map_markup, $pagename);<br>} // GetMapOfLatinAmerica()<br><br>When I put the new pmwiki tag into any page it get's<br>saved properly as flat text as (:latinamerica:). So<br>far, so good. When I edit the page the next time, the
<br>edit box doesn't contain the (:latinamerica:) custom<br>tag but instead the HTML generated by the tag's<br>implementation. I don't know how to prevent this, am I<br>registering the tag in the wrong stage of the<br>transformation? I tried changing it but it seemed to
<br>have no effect on the editor.<br><br>Furthermore I could find nothing in the docs that gave<br>me a hint of what could be going wrong, so I don't<br>know how to proceed. Any help is appreciated.<br><br>What am I doing wrong?
<br><br>Thanks in advance,<br>Luis.<br><br><br>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around<br><a href="http://mail.yahoo.com">http://mail.yahoo.com
</a><br><br>_______________________________________________<br>pmwiki-users mailing list<br><a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br><a href="http://host.pmichaud.com/mailman/listinfo/pmwiki-users">
http://host.pmichaud.com/mailman/listinfo/pmwiki-users</a><br></blockquote></div><br>