JuliaAttic / Markdown.jl

Markdown parsing for Julia
Other
40 stars 11 forks source link

Bug with fenced codeblocks #18

Closed mpastell closed 9 years ago

mpastell commented 9 years ago

If I use more than 3 `s for a fenced code block, the "extra ones" appear in the output:

julia> using Markdown

julia> input = """
       ````julia
       println("Markdown")  
   """;

julia> println(stringmime("text/html", Markdown.parse(input)))

println("Markdown")  

`


Notice the extra 

`

hayd commented 9 years ago

I have a fix for this https://github.com/JuliaLang/julia/pull/10492.