[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: BUG REPORT: Website META Language 2.0.1 (23-May-2000)
- From: Denis Barbier <nospam@thanx>
- Date: Wed, 31 May 2000 11:43:02 +0200 (CET)
On Tue, 30 May 2000, Howard Alexander LaHurreau wrote:
> I'm having a problem with wml::fmt::verbatim, specifically the
> <verbatim-file> tag. If the file contains lines beginning with
> the '#' character, those lines will be stripped out. Using
> wml's -p option I was able to determine that the lines starting
> with '#' were present all the way up until pass eight (HTMLstrip).
>
> I know that wml::fmt::verbatim uses <protect pass=7-9>, but it
> doesn't seem to be working. :-) Thanks!
You are right, this is due to nested <protect> tags. You can replace
in wml::fmt::verbatim
return "<protect pass=4-9>...</protect>";
by
return "<"."protect pass=4-9>...<"."/protect>";
This problem is not related to current discussions about mp4h, because
the <protect> tag is used by wml to replace some portions of text by
an identifier before each pass, and replace this identifier by original
text after. With current implementation, these tags cannot be nested.
--
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