Closed OliverJAsh closed 11 years ago
One of the way to solve your problem is to exclude your feed file from minifacation with some kind of setting in _config.yml
. Something like:
jekyll-press:
exclude: ['feed.xml']
What do you think about it?
That would be a perfect solution. Is this something that’s alright built into jekyll-press?
On 25 Nov 2012, at 13:52, stereobooster notifications@github.com wrote:
One of the way to solve your problem is to eclude your feed file from minifacation with some kind of setting in _config.yml. Something like:
jekyllpress: exclude: ['feed.xml'] What do you think about it?
— Reply to this email directly or view it on GitHub.
Not yet. I will do it.
Thank you!
On 25 Nov 2012, at 14:08, stereobooster notifications@github.com wrote:
Not yet. I will do it.
— Reply to this email directly or view it on GitHub.
Update jekyll-press
and add settings (https://github.com/stereobooster/jekyll-press#settings)
Closing for now
I am using
xml_escape
to prepare my content for an RSS feed, but this means that when it is run through jekyll-press, new lines in code are minified and therefore lost.For example:
Becomes:
I think the only way to prevent this from happening is to prevent jekyll-press from minifying the file. Can you do that?