Skip to content

Doesn't update <use /> tag "href" attribute when renumerateIRIElements is true #2671

@bodasooqa

Description

@bodasooqa

I have the code in my svg:

<svg ...>
  <path ... />
  <defs>
    <path id="refresh" ... />
    <clipPath id="refresh-clip">
      <use href="#refresh" />
    </clipPath>
  </defs>
  <g clip-path="url(#refresh-clip)">
    ...
  </g>
</svg>

And as a result ids and clip-path are updated: refresh-1, refresh-clip-2, url(#refresh-clip-2), but href attribute of <use /> is still #refresh

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions