Is there an encode property on the attribute tag? I really think it's
something we could do with across all tags, like trim.
On 10 Jul 2004 02:15:39 -0000, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> brett 2004/07/09 19:15:39
>
> Modified: jelly/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml
> AttributeTag.java
> Log:
> Don't encode the conents of the attribute
>
> Revision Changes Path
> 1.5 +2 -2
> jakarta-commons/jelly/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/AttributeTag.java
>
> Index: AttributeTag.java
> ===================================================================
> RCS file:
> /home/cvs/jakarta-commons/jelly/jelly-tags/xml/src/java/org/apache/commons/jelly/tags/xml/AttributeTag.java,v
> retrieving revision 1.4
> retrieving revision 1.5
> diff -u -r1.4 -r1.5
> --- AttributeTag.java 25 Feb 2004 01:31:50 -0000 1.4
> +++ AttributeTag.java 10 Jul 2004 02:15:39 -0000 1.5
> @@ -41,7 +41,7 @@
> if ( tag == null ) {
> throw new JellyTagException( "<attribute> tag must be enclosed inside
> an <element> tag" );
> }
> - tag.setAttributeValue( getName(), getBodyText() );
> + tag.setAttributeValue( getName(), getBodyText( false ) );
> }
>
> // Properties
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
http://www.multitask.com.au/people/dion/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]