Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bug on SVG macro in PlantUML for Confluence

Christian.Steinmetz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 17, 2019

Hi,

we are using Confluence Server v6.14.3 and PlantUML for Confluence v6.32 and we are facing a really strange problem.

If we are using the SVG marco to embed a svg file to a Confluence page, the layout of the rendered page looks very strange. None of the menue items and action links is on the right place. If we remove the SVG macro from the page, the layout is fine.

The problem appears on newly created pages even on pages that already exists since the last update of the PlantUML for Confluence addon.

We have found out a temporary workaround for the problem by uploading the svg file manually to the page and embed the image on the page using the "!" key. After choosing the uploaded file and giving a specific width to the image, the rendering of the page is properly.

1 answer

0 votes
Yana Stoliarova
Contributor
March 23, 2021

Hi! I am Confluence admin and we are using the latest 6.50 version of PlanUML plugin. I found that two modules regarding SVG are disabled. Here is a reason: https://avono-support.atlassian.net/wiki/spaces/PUML/pages/30310405/Macro+svg

"The  svg macro will only be available if it has been enabled by an administrator.

Enabling this macro makes your Confluence site vulnerable to cross-site scripting attacks."

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events