Loading CHANGELOG.md +1 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,7 @@ - Fix: empty value passed to file_url. - Fix: example hot mode in libraries. - Added user theme suggestions - Issue #3259930: xlink:href deprecated # Summary 8.x-0.20 ## Release notes Loading src/components/icon/icon.twig +4 −1 Original line number Diff line number Diff line Loading @@ -43,6 +43,9 @@ {% set library = library ? library : 'sprite.svg' %} <svg class="{{ icon_classes|join(' ')|trim }}"> <use xlink:href="/{{ active_theme_path() }}/assets/svg/{{ library }}#{{ name }}"></use> <use href="/{{ active_theme_path() }}/assets/svg/{{ library }}#{{ name }}" xlink:href="/{{ active_theme_path() }}/assets/svg/{{ library }}#{{ name }}" ></use> </svg> {% endspaceless %} Loading
CHANGELOG.md +1 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,7 @@ - Fix: empty value passed to file_url. - Fix: example hot mode in libraries. - Added user theme suggestions - Issue #3259930: xlink:href deprecated # Summary 8.x-0.20 ## Release notes Loading
src/components/icon/icon.twig +4 −1 Original line number Diff line number Diff line Loading @@ -43,6 +43,9 @@ {% set library = library ? library : 'sprite.svg' %} <svg class="{{ icon_classes|join(' ')|trim }}"> <use xlink:href="/{{ active_theme_path() }}/assets/svg/{{ library }}#{{ name }}"></use> <use href="/{{ active_theme_path() }}/assets/svg/{{ library }}#{{ name }}" xlink:href="/{{ active_theme_path() }}/assets/svg/{{ library }}#{{ name }}" ></use> </svg> {% endspaceless %}