Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-895

White space is stripped between localization directives.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0
    • 4.1.1
    • Framework
    • None

    Description

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

      Attachments

        Activity

          People

            jkuhnert Jesse Kuhnert
            tailwaggers Mark Reynolds
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: