Expand my Community achievements bar.

Whitespace Removal from Sightly HTML output

Avatar

Community Advisor

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

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

Thanks

Dipti

5 Replies

Avatar

Community Advisor

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

Avatar

Administrator

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

It is still in open state.

~kautuk



Kautuk Sahni

Avatar

Community Advisor

Hi Kautuk

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

Thanks

Dipti

Avatar

Administrator

Let we check it internally and get back to you.

~kautuk



Kautuk Sahni

Avatar

Employee

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