Option for setting default mode for compress directive
Jerker Klang <[email protected]> Tue, 16 Dec 2014 10:13:38 +0700
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I checked the source code for CompressedBlock and StandardCompress and found the undocumented argument single_line(boolean) which is exactly the feature I'm looking for. I'm using Freemarker for html development and I have a lot of macros that sometimes are nested to construct html fragments. However using compress today when it outputs newlines is inconvenient since the output becomes really ugly (imho). So I was wondering if there would be a possibility in next version of Freemarker to set an option somewhere to have compress to always use single_line=true which would make me very happy :). Have a good day everyone! //Jerker ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk