Removed EOL character stripping interfering with code block indentation.

This commit is contained in:
David Russell 2016-10-09 23:19:54 +07:00
parent 315b6de1d5
commit 594da40a62

View File

@ -124,13 +124,15 @@ public class MarkdownModel implements Markdown {
YAMLOptions yOpts,
String gitRawBase) {
/*
* Clean md fragment before processing.
*/
md = (md != null) ? md.trim() : md;
if (slideDelimFound(md)) {
/*
* Clean only delimiter fragments of whitespace
* noise before processing. Preserve end-of-line
* characters on all non-delimiter fragments.
*/
md = md.trim();
if (videoDelimFound(md)) {
/*