at the moment I try to develop a SharePoint 2016 Visual Web Part project (my first time).
The SVG contains a elements wich contains poligones to build clickable poligons in vector graphic.Now to my problem. The polygons in the SVG element will not displayed. I hosted the generated SVG element in an external html file to find out why it is not presend.
In the external html file i dont have any problems with the SVG element. Only SharePoint does not show the polygons inside the svg. Last, I found out that the polygons are displayed when I move them out of the a element.
Any idea why SharePoint can't display the polygons inside the svg?
<svg xmlns="http://www.w3.org/2000/svg" width="500" height="400" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"> <a xlink:href="https://google.de" target="_blank" > <polygon points="0,0 20,0 20,20 0,20" /> </a> <a xlink:href="#" target="_self"> <polygon points="20,0 40,0 40,20 20,20" /> </a>