mirror of
https://github.com/gitpitch/gitpitch.git
synced 2024-04-18 07:30:55 +08:00
Removed EOL character stripping interfering with code block indentation.
This commit is contained in:
parent
315b6de1d5
commit
594da40a62
|
@ -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)) {
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue
Block a user