From f375933482aec4e7a98f8aa651bb5c0811b7095a Mon Sep 17 00:00:00 2001 From: tlienart Date: Fri, 4 Aug 2023 14:12:58 +0200 Subject: [PATCH] same fix as for https://github.com/tlienart/Franklin.jl/issues/1040 --- src/convert/markdown/rules/code.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, "
")