Code52/DownmarkerWPF — pull request #124 by dredix (2012-02-17 13:06:52+00:00)
Title: Fix for incorrect document parsing when using Setext syntax for H2

The methods Parse and GetBodyContents on the class MarkPad.Document.DocumentParser were using Split to separate Jekyll headers from contents on Markdown documents. The problem is that the triple dash is also valid Markdown (Setext H2 header). The change included on this pull request offers a fix to the problem by checking that the Jekyll header is at the beginning of the document and delimited by the three dashes followed by a line break.

Hope this helps.