diff --git a/dot2tex/utils.py b/dot2tex/utils.py index f4f5e2e..99adf01 100644 --- a/dot2tex/utils.py +++ b/dot2tex/utils.py @@ -96,7 +96,7 @@ def is_multiline_label(drawobject): return False label = getattr(drawobject, "label", "") - return any(x in label for x in [r"\n", r"\l", r"\r"]) + return any(x in label for x in [r"\n", r"\r"]) class EndOfGraphElement(object): @@ -122,4 +122,4 @@ def get_all_graph_elements(graph, l=None): if outer: return l else: - l.append(EndOfGraphElement()) \ No newline at end of file + l.append(EndOfGraphElement())