Modify

Opened 3 years ago

Last modified 3 years ago

#14082 accepted defect

Can not render diagrams besides @startuml

Reported by: idle@… 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)

Change History (1)

comment:1 Changed 3 years ago by Ryan J Ollos

Status: newaccepted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as accepted The owner will remain Ryan J Ollos.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.