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

Re: Bug in documentation



On Fri, Aug 24, 2001 at 05:42:19PM +0530, rvg@creato.org wrote:
> 
> I think there is a bug in the documentation on
> http://www.engelschall.com/sw/wml/docs/backend/wml_p2_mp4h.html
> 
> Where the author discusses the %body macro, the output does not seem 
> consistent with the input source.  Here is the extract from the page
> 
> Source:
> <define-tag mail2 endtag=required whitespace=delete>
> <set-var %attributes>
> <a href="mailto:<get-var mail>">%body</a>
> </define-tag>
> <mail2 mail="hello@foo.com">
> <img src="photo.png" alt="Dr. Foo" border=0>
> </mail2>
> 
> Output:
> <a href="mailto:hello@foo.com">
> <img border="0"  >
> </a>
> 
> However this is the output I get (seems correct to me) when I pass that
> source through wml.
> <a href="mailto:hello@foo.com">
> <img src="photo.png" alt="Dr. Foo" border="0">
> </a>

Oh right, the <img> tag is redefined somewhere and must be undefined.
It has been fixed in CVS, thanks.

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