From 419f545fee16df95a17bd09004686ca285423098 Mon Sep 17 00:00:00 2001 From: Hugo Gomes Date: Thu, 4 Aug 2022 15:23:28 +0100 Subject: [PATCH] Add the xmlns:xlink namespace to the root svg element - This allows url linking to be used by the SVG child elements, which currently happens in elements --- player/js/renderers/SVGRendererBase.js | 1 + 1 file changed, 1 insertion(+) diff --git a/player/js/renderers/SVGRendererBase.js b/player/js/renderers/SVGRendererBase.js index 0768cf761..64fa08d24 100644 --- a/player/js/renderers/SVGRendererBase.js +++ b/player/js/renderers/SVGRendererBase.js @@ -44,6 +44,7 @@ SVGRendererBase.prototype.createSolid = function (data) { SVGRendererBase.prototype.configAnimation = function (animData) { this.svgElement.setAttribute('xmlns', 'http://www.w3.org/2000/svg'); + this.svgElement.setAttribute('xmlns:xlink', 'http://www.w3.org/1999/xlink'); if (this.renderConfig.viewBoxSize) { this.svgElement.setAttribute('viewBox', this.renderConfig.viewBoxSize); } else {