Skip to content

<use xlink:href="#ID"> problem  #58

Closed
@krolovolk

Description

@krolovolk

Hello! Doesn't correctly parse svg with local links to tags.
For example,

<symbol  id="chair" viewBox="-4.8 -4.6 9.5 9.2">
	<path fill="none" stroke="#AE8E72" stroke-width="0.25" stroke-miterlimit="10" d="M-3.7-2.7h-0.5c0,0,0,0,0,0v-0.9
		c0.1,0,0.3-0.1,0.5-0.1V-2.7z"/>
	<path fill="none" stroke="#AE8E72" stroke-width="0.25" stroke-miterlimit="10" d="M-3.7,3.9v0.3c0,0.1-0.1,0.3-0.3,0.3
		s-0.3-0.1-0.3-0.3V3.9c0,0,0,0,0,0H-3.7z"/>
</symbol>

<use xlink:href="#chair"  width="9.5" height="9.2" x="-4.8" y="-4.6" transform="matrix(-0.7071 0.7071 0.7071 0.7071 46.102 160.4048)" overflow="visible"/>
<use xlink:href="#chair"  width="9.5" height="9.2" x="-4.8" y="-4.6" transform="matrix(0.7071 0.7071 0.7071 -0.7071 46.102 179.4129)" overflow="visible"/>

Objects are shown on first symbol positions. Thanks for support

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions