[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: <protect> does not work
- From: Denis Barbier <nospam@thanx>
- Date: Sat, 12 Feb 2000 15:56:17 +0100 (CET)
On Sat, 12 Feb 2000, Wolfgang Dautermann wrote
> Hi,
>
> I want to create two pages from one input file - one html-only page
> and one with php-scripts. A small example:
>
> #use wml::std::lang
> <lang:new id=html>
> <lang:new id=php>
> <lang:star:slice: %BASE.*>
> <h1> Linux</h1>
> <lang:html></lang:html>
> <lang:php>
> <H3>Linux Headlines</H3>
> <P>
> <protect>
> <?php
> readfile("http://lwn.net/headlines/html");
> ?>
> </protect>
> </lang:php>
>
> Wml (1.7.4) should leave the php-code (everything between "<?php" and
> <protect>. What can I do to protect php-code against wml?
[...]
Looks like a bug.
You may write <protect pass=1-8> until it is fixed.
Thanks for your report.
--
Denis Barbier
WML Maintainer
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com