[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: Howard Alexander LaHurreau <nospam@thanx>
- Date: Wed, 31 May 2000 10:38:05 -0500
On Wed, May 31, 2000 at 11:43:02AM +0200, Denis Barbier wrote:
> 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!
Just noticed that <verbatim-file> doesn't use the <verbatim> tag at
all and uses &wml_fmt_verbaim()...
> 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 works wonderfully. Thanks! :-)
> 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.
Just a quick question: would it actually be useful to have nested
<protect> tags, or is it more trouble than it's worth? (Simpler to
do things like the above?)
--
AlexDW <alexdw@locl.net> -- KB9SYM -- DOCTOR WHO FOREVER
'Tis more blessed to give than receive; for example, wedding presents.
-- H.L. Mencken
Visit The Home of AlexDW at http://www.locl.net/homes/alexdw/
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com