Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Do not strip whitespaces and newlines when separating content from metadata #463
When parsing items and separating content from metadata, Nanoc strips the content: https://github.com/nanoc/nanoc/blob/3.7.1/lib/nanoc/data_sources/filesystem.rb#L271
This is bogus and prevents the following Markdown from being correctly compiled:
Well imho, what comes after "---" is the content. If you like to have a blank line for visual reasons, then that blank line is part of the content. Does it harm the pipeline to keep it? In the end HTML doesn't care.
So maybe it's better to consider it's part of content? Otherwise the line is blurry.
I believe it is.