Skip to content

Commit

Permalink
adds test and closes #203 (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlienart authored Sep 5, 2019
1 parent 9cf8e99 commit f0c2d02
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/converter/markdown3.jl
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,13 @@ end
@test blocks[4].name == :CODE_INLINE
@test J.content(blocks[4]) == "single"
end

@testset "\\ and \`" begin # see issue 203
st = raw"""The `"Hello\n"` after the `readall` command is a returned value, whereas the `Hello` after the `run` command is printed output.""" * J.EOS
st |> seval
@test isapproxstr(st |> seval, raw"""
<p>The <code>&quot;Hello\n&quot;</code> after
the <code>readall</code> command is a returned value,
whereas the <code>Hello</code> after the <code>run</code>
command is printed output.</p>""")
end

0 comments on commit f0c2d02

Please sign in to comment.