Whitespace Removal from Sightly HTML output | Community
Skip to main content
Dipti_Chauhan
New Participant
Sep 11, 2017 3:51 AM UTC

Whitespace Removal from Sightly HTML output

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.

5 replies

Feike_Visser1
Employee
Sep 13, 2017 4:45 AM UTC

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

Translate
kautuk_sahni
Employee
Sep 13, 2017 4:24 AM UTC

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

It is still in open state.

~kautuk

Translate
Kautuk Sahni
Dipti_Chauhan
New Participant
Sep 13, 2017 4:27 AM UTC

Hi Kautuk

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

Thanks

Dipti

Translate
kautuk_sahni
Employee
Sep 13, 2017 4:31 AM UTC

Let we check it internally and get back to you.

~kautuk

Translate
Kautuk Sahni
VeenaVikraman
New Participant
Sep 11, 2017 4:00 AM UTC

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

Translate