Skip to content

Commit

Permalink
Only compress in live context
Browse files Browse the repository at this point in the history
to prevent `\n` in inspectors TextAreaEditor from getting removed.

closes #2
  • Loading branch information
ComiR authored Oct 26, 2016
1 parent 2ee879d commit 7b96080
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Resources/Private/TypoScript/Root.ts2
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ prototype(TYPO3.Neos:Page) {
[email protected] {
expression = ${Flownative.Compressor.compress(value)}
@position = 'end 999999999'
@if.isLive = ${node.context.live}
}
[email protected] {
expression = ${Flownative.Compressor.compress(value)}
@position = 'end 999999999'
@if.isLive = ${node.context.live}
}
}
}

0 comments on commit 7b96080

Please sign in to comment.