keep LaTeXStrings to be LaTeXStrings (#2781)

This commit is contained in:
Simon Christ 2020-06-16 09:39:07 +02:00 committed by GitHub
parent a20b275eaf
commit 3eb2b783dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -988,6 +988,7 @@ end
function pgfx_sanitize_string(s::LaTeXString) function pgfx_sanitize_string(s::LaTeXString)
s = replace(s, r"\\?\#" => "\\#") s = replace(s, r"\\?\#" => "\\#")
s = replace(s, r"\\?\%" => "\\%") s = replace(s, r"\\?\%" => "\\%")
return LaTeXString(s)
end end
end end
function pgfx_sanitize_plot!(plt) function pgfx_sanitize_plot!(plt)