workflows: don't break on quotation marks in status names (#11493)
This commit is contained in:
parent
2f3e37f9be
commit
071bd24885
|
@ -137,7 +137,7 @@ def graphviz(workflow, url_prefix='', select=None, svg=True,
|
|||
for status in workflow.possible_status:
|
||||
i = status.id
|
||||
print >>out, 'status%s' % i,
|
||||
print >>out, '[label="%s"' % status.name,
|
||||
print >>out, '[label="%s"' % status.name.replace('"', "'"),
|
||||
if select == str(i):
|
||||
print >>out, ',id=current_status'
|
||||
if status.colour:
|
||||
|
|
Loading…
Reference in New Issue