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

Bug in documentation




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>
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com