Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
if the first item on a line is a inline code element, the rest of the line is detected as a paragraph, but excluding the code element at the beginning: ```markdown `fleck` is perfect ``` Should produce: ```html <p><code>fleck</code> is perfect</p> ``` But it produces: ```html <code>fleck</code> <p>is perfect</p> ``` A possible fix could be to move the inline code parsing from the parser.Parser.code() function to the parser.Parser.paragraph() function, due to the fact, that inline code elements should only exists in paragraphs, not on their own
- Loading branch information