[pmwiki-users] How to prevent text from being parsed?
H. Fox
haganfox at users.sourceforge.net
Fri Jan 20 11:42:19 CST 2006
On 1/20/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Fri, Jan 20, 2006 at 02:22:00PM +0100, Musikschule Bernsbach / Schwarzenberg (Webmaster) wrote:
> > Hi...
> >
> > In the cookbooks and in the mailing list archives
> > I haven't found anything that can help me.
> >
> > I want some content NOT being parsed and translated
> > in the PmWiki way, but written directly to the browser.
> >
> > The idea is to define an directive, which inner text is
> > the direct output:
[...]
> >
> > Can someone help please?
>
> Try:
>
> Markup(
> 'html',
> 'fulltext',
> '/\\(:html:\\)(.*?)\\(:htmlend:\\)/esi',
> "Keep(str_replace(array('>', '<', '&'),
> array('<', '>', '&'), PSS('$1')))");
I started to add this to the cookbook, but I found two issues
1) The last line should be
array('>', '<', '&'), PSS('$1')))");
2) Is there any way to get this not to wrap the output in <p>paragraph</p> tags?
Hagan
More information about the pmwiki-users
mailing list