Uses a custom string replacement function to ensure that # characters are correctly URL encoded to %23, to avoid Firefox/IE11 choking on the SVG data URLs.
Uses a custom string replacement function to ensure that # characters are correctly URL encoded to %23, to avoid Firefox/IE11 choking on the SVG data URLs.