[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: verbatim and substitution of #
- From: Denis Barbier <nospam@thanx>
 
- Date: Sat, 15 Jan 2000 19:47:07 +0100 (CET)
 
On Sat, 15 Jan 2000, Werner Heuser wrote:
> Hi,
> 
> when I use
> 
> #use wml::fmt::verbatim
> 
> <verbatim>
> #
> 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 # 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>
<verbatim>
#
or
#
</verbatim>
</protect>
You can't define <verbatim_extended> because the # sign is removed
before pass 2.
Where is defined this # 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