[pmwiki-users] Javascript on a single page
Stephan Schildberg
schildberg at scoid.de
Sat Jan 28 12:55:35 CST 2006
Thank you very much,
this was very easy to apply!
regards, Stephan.
>
> 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 langusge="JavaScript">
> alert("Thanks to PM for that markup.");
> </script>
> (::htmlend)
>
More information about the pmwiki-users
mailing list