Skip to content

Commit

Permalink
Merge pull request #175 from highcharts-for-python/develop
Browse files Browse the repository at this point in the history
PR for v.1.7.5
  • Loading branch information
hcpchris committed Jun 5, 2024
2 parents 75e0c32 + eff958a commit 7ab5fbc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@

Release 1.7.5
=========================================

* **BUGFIX:** Fixed encoding issue when handling certain exported SVGs from the Node Export Server.

--------------------

Release 1.7.4
=========================================

Expand Down
2 changes: 1 addition & 1 deletion highcharts_core/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.7.4'
__version__ = '1.7.5'
2 changes: 1 addition & 1 deletion highcharts_core/headless_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ def request_chart(self,
with open(filename, 'wb') as file_:
file_.write(result.content)
elif filename and self.format_ == 'svg':
content = str(result.content, encoding = 'utf-8')
content = str(result.content, encoding="utf-8").replace("\u200b", " ")
with open(filename, 'wt') as file_:
file_.write(content)

Expand Down

0 comments on commit 7ab5fbc

Please sign in to comment.