Modify ↓
#13579 closed defect (fixed)
missing comma in MIME_TYPES makes Graphviz render blocks that it should not
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Component: | GraphvizPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 1.2 |
Description
on line 193, MIME_TYPES = ('application/graphviz')
makes MIME_TYPES
a string instead of a tuple.
This makes Graphviz's get_quality_ratio()
return 2
and be selected to render a block that has for example the #!c
shebang. This will fail and render dot's error message in a red rectangle.
fix: MIME_TYPES = ('application/graphviz',)
Attachments (0)
Change History (3)
comment:2 Changed 5 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 5 years ago by
Owner: | changed from Christian Boos to ebouaziz@… |
---|
Note: See
TracTickets for help on using
tickets.
In 17422: