diff --git a/src/convert/markdown/rules/code.jl b/src/convert/markdown/rules/code.jl index e964d4af..d5588607 100644 --- a/src/convert/markdown/rules/code.jl +++ b/src/convert/markdown/rules/code.jl @@ -469,8 +469,8 @@ function _eval_repl_code( println(io, "
") println(io, strip(replace( Markdown.html(r), - r"(.*?)" => s"\1", - "class=\"language-jldoctest\"" => "class=\"language-julia-repl\"", + r"(.*?)" => s"\1", + "class=\"language-jldoctest\"" => "class=\"language-julia-repl\"", r"(?:\&\#36\;)+((.|\n)*?)(?:\&\#36\;)+" => s"\\(\1\\)" ))) println(io, "
")