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

Add control over whether whitespace is stripped from templates by default

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.9
    • Fix Version/s: 5.0.10
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      Tapestry's ability to strip whitespace out of templates before renderring is love it or hate it. In many cases, it causes problems, especially for layouts that were created before the change.

      The use of xml:space in the outermost elements of a template can turn this off, but it would be nice if it were possible to control this more globally.

      I will add a symbol that changes the default behavior.

      I will NOT make this dependent on production mode as I strongly feel you should test and use (day to day) what you will use in production.

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              hlship Howard M. Lewis Ship
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: