[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: verbatim and substitution of #

On Sat, 15 Jan 2000, Werner Heuser wrote:

> Hi,
> when I use
> #use wml::fmt::verbatim
> <verbatim>
> &num;
> or
> #
> </verbatim>
> I get undesired results in both cases. Since the
> verbatim tag is very convienient, I would like to use it with
> commented shellscript source in HTML pages, too.
> I dare to make some solutions:
> - mentioning this behaviour in the man page explicitly
> - new tag <verbatim_extended> which also changes # to &num; entity
> - other, maybe I have overlooked something

Hi Werner,

there is indeed a problem with the sharp sign i must document: it is
discarded in pass 1, so you have to protect input with
<protect pass=1>

You can't define <verbatim_extended> because the # sign is removed
before pass 2.

Where is defined this &num; entity ?

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