Message Boards

Svg is not displayed correctly on page

Илья Рогов, modified 1 Year ago.

Svg is not displayed correctly on page

New Member Posts: 2 Join Date: 1/21/21 Recent Posts

Hello!
I have a problem displaying svg on page. Some pages have an HTML snippet inside which svg is used, for example
<svg width = "100" height = "100">
  ...
</svg>

After saving the page, svg  is not displayed correctly.
This is due to the fact that the Liferay editor (or maybe not) does not correctly parse the tags inside the svg.
Some tags inside svg are lost or corrupted.
Tell me, please, how to work correctly with svg in Liferay editor?

Americo Mraz, modified 2 Years ago.

RE: Svg is not displayed correctly on page

New Member Post: 1 Join Date: 6/12/21 Recent Posts

Are there any cons ? Like it will create more http request or will take more time to load or anything ?