White space is stripped between localization directives.
--------------------------------------------------------

         Key: TAPESTRY-895
         URL: http://issues.apache.org/jira/browse/TAPESTRY-895
     Project: Tapestry
        Type: Bug
  Components: Framework  
    Versions: 4.0    
    Reporter: Mark Reynolds


When two localization directives are separated by white space and the first 
directive consists of a start-end tag pair, the white space between the 
directives is removed. This does not occur if the first directive is an empty 
(self-closing) tag.

For example, the following template markup:

<span key="hello-key">Hello</span> <span key="world-key">World</span><br/>
<span key="hello-key"/> <span key="world-key"/><br/>
<span key="hello-key">Hello</span> <span key="world-key"/><br/>
<span key="hello-key"/> <span key="world-key">World</span><br/>
<span key="hello-key"></span> <span key="world-key"></span><br/>

Is rendered like this:

HelloWorld<br/>
Hello World<br/>
HelloWorld<br/>
Hello World<br/>
HelloWorld<br/>



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to