src/charts/helpers/exportChart.js
/**
     * Some browsers need special formatting, we handle that here
     * @param  {string} html string of svg html
     * @return {string} string of svg html
     */
Some browsers need special formatting, we handle that here
@param  {string} html string of svg html
@return {string} string of svg html
Some browsers need special formatting we handle that here @param { string } html string of svg html @return { string } string of svg html
function formatHtmlByBrowser(html) {
        if (bowser.name === 'Firefox') {
            return html.replace(/url.*&quot;\)/, `url(&quot;#${constants.lineGradientId}&quot;);`);
        }
        return html;
    }
function formatHtmlByBrowser ( html ) { if ( bowser . name === 'Firefox' ) { return html . replace ( / url.*&quot;\) / , ` ${ constants . lineGradientId } ` ) ; } return html ; }
Some browsers need special formatting, we handle that here
 @param  {string} html string of svg html
 @return {string} string of svg html
Some browsers need special formatting we handle that here @param { string } html string of svg html @return { string } string of svg html