View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0034607 | mantisbt | administration | public | 2024-09-02 01:15 | 2024-09-07 10:43 |
Reporter | amphetamine | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Windows | OS | Windows | OS Version | 11 |
Product Version | 1.3.0 | ||||
Target Version | 2.27.0 | Fixed in Version | 2.27.0 | ||
Summary | 0034607: Incorrect Workflow Graph display if the status name contains a space | ||||
Description | manage>configuration>workflow graph | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
typo |
|
Problem confirmed on latest master. Probably exists ever since the feature was introduced back in 2010 (0012253). |
|
GraphViz can process HTML labels, but this requires special formatting when generating the markup, see 0034611 |
|
The initial attempt to fix this by generating an HTML-like label failed, because GraphViz's "HTML-like" labels only allow a limited set of tags [1] and the So the only way to fix this is to remove that function call, which should not cause any problems because Graphviz will not wrap text unless a newline |
|
MantisBT: master 2e81aa88 2024-09-02 13:06 Details Diff |
Fix workflow labels with space displayed as HTML The initial attempt to fix this by generating an HTML-like label failed, because GraphViz's "HTML-like" labels only allow a limited set of tags and the `<span class="nowrap">` inserted by string_nobreak() is not one of them. So the only way to fix this is to remove that function call, which should not cause any problems, because Graphviz will not wrap text unless a newline `\n` is inserted in the label. Fixes 0034607 |
Affected Issues 0034607 |
|
mod - workflow_graph_img.php | Diff File |