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

Re: showing comments in HTML



On Wed, 6 Oct 1999, Xose Manoel Ramos wrote:

> Sorry, I am asking a question was asked some time ago in the group. I
> did not paid any attention to the answer in the list. 
> 
> I want to include some `Bash' code in my page, just to show it. And
> the problem is pass 8 takes out the comments.
> 
> <verbatim>
> #!/bin/sh
> (...)
> </verbatim>
> 
> I tried <nostrip> and it does not work:
> 
> <nostrip>
> <verbatim>
> #!/bin/sh
> (...)
> </verbatim>
> </nostrip>
> 
> And also <protect>:
> 
> <protect pass=8>
> <verbatim>
> #!/bin/sh
> (...)
> </verbatim>
> </protect>
> 
> What I am doing wrong?

Hash signs are not welcome within WML ;-)
Lines beginning with this char are removed in pass 8 _and_ pass 1.
So try <protect pass=1,8>

-- 
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