Fix issues of TextElement.get_text()
These changes: - fix handling of nodes with no text - fix missing tails when there are nested tspans at the end
Showing
- .gitignore 1 addition, 1 deletion.gitignore
- inkex/elements/_text.py 8 additions, 6 deletionsinkex/elements/_text.py
- tests/data/svg/text_with_nested_tspan.svg 3 additions, 0 deletionstests/data/svg/text_with_nested_tspan.svg
- tests/test_inkex_elements_text.py 9 additions, 5 deletionstests/test_inkex_elements_text.py
Loading
Please register or sign in to comment