Skip to content

Commit 31b4625

Browse files
authored
Merge pull request #13 from rcnlee/master
fix depwarn for replace in 0.7
2 parents 617107a + 426e308 commit 31b4625

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/display.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# latex treats # as a special character, so we have to escape it. See:
33
# https://github.com/sisl/TikzGraphs.jl/issues/12
44

5-
latex_escape(s::String) = replace(s, "#", "\\#")
5+
latex_escape(s::String) = replace(s, "#"=>"\\#")
66

77
"Convert a symbol or into a LaTeX label"
88
function latex_label(sym)

0 commit comments

Comments
 (0)