Remove useless line breaks
This commit is contained in:
parent
bb6854f381
commit
594fe4b1ae
@ -110,7 +110,7 @@ fn graphviz_export(tree: &TreeNode) -> String {
|
|||||||
|
|
||||||
fn tex_escape_str(s: &str) -> String {
|
fn tex_escape_str(s: &str) -> String {
|
||||||
s.replace('_', "\\_")
|
s.replace('_', "\\_")
|
||||||
.trim_start_matches('\n')
|
.trim_matches('\n')
|
||||||
.replace("\n\n", "\n")
|
.replace("\n\n", "\n")
|
||||||
.replace('\n', "\\newline\n")
|
.replace('\n', "\\newline\n")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user