Whitespace Removal from Sightly HTML output | Community
Skip to main content
Dipti_Chauhan
Community Advisor
Community Advisor
September 11, 2017

Whitespace Removal from Sightly HTML output

  • September 11, 2017
  • 3 replies
  • 7350 views

Can there be a way to remove whitespace from Sightly components HTML output

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

Thanks

Dipti

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

VeenaVikraman
Community Advisor
Community Advisor
September 11, 2017

Hi Dipti

       Here is the exact same question asked before Sightly remove whitespace  . I am not sure if they have added an option. May be Feike Visser or Jörg Hoh can answer this for you. smacdonald2008​ do you think we have a solution for this ?

Thanks

Veena

kautuk_sahni
Community Manager
Community Manager
September 13, 2017

Here is the Sling-issue: https://issues.apache.org/jira/browse/SLING-4443

It is still in open state.

~kautuk

Kautuk Sahni
Dipti_Chauhan
Community Advisor
Community Advisor
September 13, 2017

Hi Kautuk

  Do we have any resolution date for this issue or any workaround?

Thanks

Dipti

kautuk_sahni
Community Manager
Community Manager
September 13, 2017

Let we check it internally and get back to you.

~kautuk

Kautuk Sahni
Feike_Visser1
Adobe Employee
Adobe Employee
September 13, 2017

You can use a module like mod_pagespeed, at the webserver level.