Forum
Suggestion: Remove whitespace from HTML
It would be nice if there was an option for perch to output HTML that's stripped of whitespace. So at templating, one could write more manageable code, e.g. with more indents.
It would be nice if there was an option for perch to output HTML that's stripped of whitespace. So at templating, one could write more manageable code, e.g. with more indents.
Not as straightforward as it sounds (think about
<pre>
tags and embedded JavaScript and CSS) but we'll keep it in mind.Thanks! Not sure if it helps, but here's an open source extension we use for TYPO3
https://typo3.org/extensions/repository/view/sourceopt And as there's no viewable code there: https://dl.dropboxusercontent.com/u/11320047/sourceopt.zip