Opened 5 years ago

Closed 5 years ago

PlantUml macro doesn't work well if you put any environment before it.

Reported by: Owned by: anonymous Ryan J Ollos normal PlantUmlMacro normal Álvaro Iradier, Steffen Hoffmann 0.11

Following contents makes error. I tried it on the Trac 0.12.3 and 0.11.2.

It seems an environment is a bad influence on PlantUml macro.

{{{
#!c
test env.
}}}

[[PlantUml(somepath/file.txt)]]



comment:1 Changed 5 years ago by Ryan J Ollos

Description: modified (diff) changed from Álvaro Iradier to Ryan J Ollos new → assigned

comment:2 Changed 5 years ago by Ryan J Ollos

Defect has been reproduced. Thanks for reporting. I hope to have a fix available shortly.

comment:3 Changed 5 years ago by Ryan J Ollos

For reasons I don't understand, if you put a WikiProcessor before the macro call, then formatter.code_processor.args is {} rather than None. So, it will be a simple code modification to fix this.

comment:4 Changed 5 years ago by Ryan J Ollos

Resolution: → fixed assigned → closed

(In [11721]) Fixes #10144: PlantUML diagrams would not be rendered from the repository if a WikiProcessor existed on the wiki page before the macro call.

Modify Ticket

Change Properties