[ 
https://issues.apache.org/jira/browse/SLING-4443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15502906#comment-15502906
 ] 

Dirk Rudolph edited comment on SLING-4443 at 9/19/16 9:51 AM:
--------------------------------------------------------------

What about implementing a {{CommandHandler}} similar to {{CoalescingWrites}} 
that trims all {{OutText}} commands? 

(we would welcome this functionality as well, as we are rendering components to 
package them for delivery to mobile apps and want to optimise almost everything 
possible)


was (Author: diru):
What about implementing a {{CommandHandler}} similar to {{CoalescingWrites}} 
that trims all {{OutText}} commands? 

> Whitespace removal for Sightly HTML output
> ------------------------------------------
>
>                 Key: SLING-4443
>                 URL: https://issues.apache.org/jira/browse/SLING-4443
>             Project: Sling
>          Issue Type: New Feature
>          Components: Scripting
>    Affects Versions: Scripting Sightly Engine 1.0.0
>            Reporter: Dan Chapman
>            Priority: Minor
>
> 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" 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to