[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Bug report, I think, regarding <attributes-quote %attributes>.
- From: Ken McGlothlen <nospam@thanx>
- Date: 16 Dec 2000 19:54:28 -0800
Here's a simple macro:
<perl>
sub printattr {
my( $attr, $contents ) = @_;
return( "$attr" );
}
</perl>
<define-tag test endtag="required">\
<:= &printattr( qq{<attribtues-quote %attributes>}, qq{%body} ) :>\
</define-tag>
This works great when called like
<test attr1="booga noob" attr2="c">
I get
attr1="booga noob" attr2="c"
as expected. I'd like to think this would work with the following as well:
<test attr1 = "booga noob" attr2 = "c">
but instead, I get
attr1 ="" booga noob attr2 ="" c
Sorry, but I think that's a bug, not a feature. :)
The workaround is obvious, of course, but it would be nice if it were fixed at
some point. Thanks.
---Ken McGlothlen
mcglk@artlogix.com
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com