Skip to content

Comments

Add support for tspan elements in SVG text parsing#8

Closed
khoi wants to merge 1 commit intomainfrom
khoi/tspan
Closed

Add support for tspan elements in SVG text parsing#8
khoi wants to merge 1 commit intomainfrom
khoi/tspan

Conversation

@khoi
Copy link
Collaborator

@khoi khoi commented May 30, 2025

This PR adds support for parsing tspan elements within SVG text nodes, enhancing the SVG parsing capabilities.

Key changes:

  • Enable parsing of tspan child elements within text nodes
  • Handle multiple text content nodes in a single text element
  • Return SVGGroup for complex text with multiple nodes
  • Register tspan parser in element parser mapping
  • Rename SVGParserPrimitives.swift to SVGHelper.swift

- Enable parsing of tspan child elements within text nodes
- Handle multiple text content nodes in a single text element
- Return SVGGroup for complex text with multiple nodes
- Register tspan parser in element parser mapping
- Rename SVGParserPrimitives.swift to SVGHelper.swift
@khoi khoi closed this May 30, 2025
@khoi khoi deleted the khoi/tspan branch September 26, 2025 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant