Skip to content

Commit

Permalink
Merge pull request #213 from xyz2tex/212-svg2tikz-not-working-in-inks…
Browse files Browse the repository at this point in the history
…cape

FIX: get_shape_inside
  • Loading branch information
ldevillez authored Jan 12, 2025
2 parents 89d1721 + cc9e685 commit 1ea6650
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
### Deprecated
### Removed
### Fixed
- Fix `get-shape-inside-function` with new inkex
### Security

## v3.2.1 - 24/09/2024
Expand Down
2 changes: 1 addition & 1 deletion svg2tikz/tikz_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ def get_shape_inside(self, node=None):
url = style.get("shape-inside")
if url is None:
return None
shape = inkex.properties.match_url_and_return_element(url, self.svg)
shape = self.svg.getElementById(url)
return shape

def style_to_tz(self, node=None): # pylint: disable=too-many-branches
Expand Down

0 comments on commit 1ea6650

Please sign in to comment.