I'm using a technique I found on CSS Tricks ( https://css-tricks.com/svg-sprites-use-better-icon-fonts/ ) to include my SVG sprite in my application.
It's a basic AngularJS application, I include the SVG and then I use the tag to implement the icons.
<svg class="svg-icon"><use class="icon" xlink:href="#svgSprite-iconName" /></svg>
All of this works fine in all the browsers except Firefox. After investigating, I noticed it's my base href (that I cannot remove because of the way the application is plugged into an older system) that's causing the issue:
<base href="/" />
Can anyone tell me how I can fix this problem?
<base>. Of course that will break things on most other UAs. So if you can't remove<base>life is going to be pretty hard for you. - Robert Longson<object>or<iframe>tag, rewriting any javascript as necessary for the new structure. - Robert Longson