[pmwiki-users] Javascript on a single page

Luigi kirpi at kirpi.it
Tue Jan 31 07:52:35 CST 2006


> You can use the custom markup
>
> Markup(
>     'html',
>     'fulltext',
>     '/\\(:html:\\)(.*?)\\(:htmlend:\\)/mesi',
>     "Keep(str_replace(array('<', '>', '&'), array('<', '>', '&'),
>     PSS('$1')))"
> );
>
> in your local/config.php. This markup won't parse the text within
> (:html:) and (:htmlend:).
>
> Example in your wiki page:
>
> (:html:)
> <script language="JavaScript">
>     alert("Thanks to PM for that markup.");
> </script>
> (::htmlend)

Thus, this could also be the/an answer to this post
[http://pmichaud.com/pipermail/pmwiki-users/2006-January/022063.html] (which has
not been replied yet directly), am I wrong?

What if I set a Cookbook recipe called something like "Javascript" and let this
entry be wider known? 
In case, does anybody has some ready example of form validation by javascript on
a wiki page (or a better idea, for that)?

Luigi








More information about the pmwiki-users mailing list