Guttenberg
Guttenberg copied to clipboard
Getting code paras excludes the necessary new line at the start
The getCodeParagraphs in PostUtils, is a bit faulty in edge cases.
In markdown, the four spaces creates a code block, only if there is a new line before the starting of the code block.
The getCodeParagraphs function should check this as well.