github syntax bug when code blocks are nested inside ordered lists

Tammer Saleh's Avatar

Tammer Saleh

14 Feb, 2013 06:41 PM

Source:

# Testing

1. Item one

    ``` ruby
    x = 1
    y = 2
    ```

1. Item two

Output:

output

Note the lack of line breaks inside the code block.

settings

Fenced code blocks are enabled.

  1. Support Staff 1 Posted by Brett on 14 Feb, 2013 07:17 PM

    Brett's Avatar

    Thanks for the report. This is a known issue in 1.4, already fixed for the
    upcoming release.

    -Brett

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac