Skip to content

fenced code conflicts with code blocks #84

Closed
kaishaku opened this Issue Apr 18, 2012 · 1 comment

2 participants

@kaishaku

Some kind of conflict with these two involving blank lines and/or new lines.

Example code (two new lines of either type, 4 spaces indent):

void foo() {

    x = 1;

I fixed as:

    if "fenced-code-blocks" in self.extras:
        text = self._do_fenced_code_blocks(text)
    else:
        text = self._do_code_blocks(text)
@trentm trentm added a commit that referenced this issue Apr 27, 2012
@trentm [issue #84, issue #87] Fix problems with fenced-code-blocks getting d…
…ouble-processed.
56d1d4a
@trentm
Owner
trentm commented Apr 27, 2012

Fixed in markdown2 1.4.2.

@trentm trentm closed this Apr 27, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.