Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
rikhuijzer committed Jun 4, 2024
1 parent 4e48fb9 commit 7c5592f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/html.jl
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ function _patch_dollar_symbols(body::String)::String
# we should escape it since it is not a LaTeX expression.
for i in 1:length(lines)
line = lines[i]
if !(contains(line, "<pre>") || contains(line, "<code>"))
if !(contains(line, "<pre>") || contains(line, "<code>") || contains(line, "class=\"tex\""))
lines[i] = replace(line, "&#36;" => raw"\$")
end
end
Expand Down

2 comments on commit 7c5592f

@rikhuijzer
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register

Release notes:

Improved the handling of dollar symbols as inline math versus dollar symbols as dollar symbol. PlutoStaticHTML is now more in-line with Pluto's behavior.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/108215

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v6.0.24 -m "<description of version>" 7c5592fc6a5c5f7343da1802b303cdc41fe96e94
git push origin v6.0.24

Please sign in to comment.