From 3eb2b783dc763790b818ea3c9c9bf78c3cb3ce54 Mon Sep 17 00:00:00 2001 From: Simon Christ Date: Tue, 16 Jun 2020 09:39:07 +0200 Subject: [PATCH] keep LaTeXStrings to be LaTeXStrings (#2781) --- src/backends/pgfplotsx.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backends/pgfplotsx.jl b/src/backends/pgfplotsx.jl index 2c8fde4c..212921da 100644 --- a/src/backends/pgfplotsx.jl +++ b/src/backends/pgfplotsx.jl @@ -988,6 +988,7 @@ end function pgfx_sanitize_string(s::LaTeXString) s = replace(s, r"\\?\#" => "\\#") s = replace(s, r"\\?\%" => "\\%") + return LaTeXString(s) end end function pgfx_sanitize_plot!(plt)