Skip to content

Commit

Permalink
same fix as for tlienart/Franklin.jl#1040
Browse files Browse the repository at this point in the history
  • Loading branch information
tlienart committed Aug 4, 2023
1 parent 444a237 commit f375933
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/convert/markdown/rules/code.jl
Original file line number Diff line number Diff line change
Expand Up @@ -469,8 +469,8 @@ function _eval_repl_code(
println(io, "<div class=\"repl-help\">")
println(io, strip(replace(
Markdown.html(r),
r"<a href=\"@ref\">(.*?)</a>" => s"\1",
"class=\"language-jldoctest\"" => "class=\"language-julia-repl\"",
r"<a href=\"@ref(.*?)\">(.*?)</a>" => s"\1",
"class=\"language-jldoctest\"" => "class=\"language-julia-repl\"",
r"(?:\&\#36\;)+((.|\n)*?)(?:\&\#36\;)+" => s"\\(\1\\)"
)))
println(io, "</div>")
Expand Down

0 comments on commit f375933

Please sign in to comment.