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

Whitespace removal for Sightly HTML output

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Scripting Sightly Engine 1.0.0
    • Fix Version/s: None
    • Component/s: Scripting
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              danchapman-pearson Dan Chapman
            • Votes:
              5 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

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