Modify ↓
Opened 4 years ago
Last modified 4 years ago
#14082 accepted defect
Can not render diagrams besides @startuml
| Reported by: | Owned by: | Ryan J Ollos | |
|---|---|---|---|
| Priority: | low | Component: | PlantUmlMacro |
| Severity: | minor | Keywords: | plantuml, |
| Cc: | Trac Release: | 1.2 |
Description
All kinds of diagrams besides @startuml (like @startjson etc.) supported by plantuml cause errors. Looks like it is artifact of WikiMacro calls protection.
I believe that following minimal intervention may help:
--- plantuml/macro.py 2018-01-28 18:38:22.000000000 +0700
+++ plantuml/macro.py 2021-11-17 21:51:58.502779312 +0700
@@ -98,7 +98,7 @@
path = None
if 'path' not in args: # Could be WikiProcessor or WikiMacro call
- if content.strip().startswith("@startuml"):
+ if content.strip().startswith("@start"):
path = None
else:
path = content
Attachments (0)
Note: See
TracTickets for help on using
tickets.


