Hi,
When I include style definitions in a <style> tag, the tag including the styles are being removed when loaded as inline svg using the svg loader. Is this an intended behaviour? I would like to include style definitions and deliver them with the svg within the <svg> tag. Is there a way to preserve the style definitions within the svg?
Hi, When I include style definitions in a
<style>
tag, the tag including the styles are being removed when loaded as inline svg using the svg loader. Is this an intended behaviour? I would like to include style definitions and deliver them with the svg within the<svg>
tag. Is there a way to preserve the style definitions within the svg?Sample markup:
logo.svg
file:What is rendered:
Desired rendering:
The loaded SVG should include the style defintions from the SVG file.
Thanks for your help.