Commit 99e30ce3 authored by Bram Schoenmakers's avatar Bram Schoenmakers

Fix tooltip function

parent 341908af
...@@ -33,7 +33,7 @@ class DotPrinter(Printer): ...@@ -33,7 +33,7 @@ class DotPrinter(Printer):
def print_list(self, p_todos): def print_list(self, p_todos):
node_name = lambda t: str(self.todolist.number(t)) node_name = lambda t: str(self.todolist.number(t))
node_tooltip = lambda t: todo.text().replace('"', '\\"') node_tooltip = lambda t: escape(t.text())
result = 'digraph {\n' result = 'digraph {\n'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment