Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-4443

Whitespace removal for Sightly HTML output

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Scripting Sightly Engine 1.0.0
    • None
    • Scripting
    • None

    Description

      Can there be a way to remove whitespace from Sightly components HTML output, that is created when elements are hidden e.g. <span data-sly-test="..."

      Previously in JSPs we could use - trimDirectiveWhitespaces="true"

      Attachments

        Activity

          People

            Unassigned Unassigned
            danchapman-pearson Dan Chapman
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h