Skip to content

Commit 7ab5fbc

Browse files
authored
Merge pull request #175 from highcharts-for-python/develop
PR for v.1.7.5
2 parents 75e0c32 + eff958a commit 7ab5fbc

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

CHANGES.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11

2+
Release 1.7.5
3+
=========================================
4+
5+
* **BUGFIX:** Fixed encoding issue when handling certain exported SVGs from the Node Export Server.
6+
7+
--------------------
8+
29
Release 1.7.4
310
=========================================
411

highcharts_core/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.7.4'
1+
__version__ = '1.7.5'

highcharts_core/headless_export.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ def request_chart(self,
813813
with open(filename, 'wb') as file_:
814814
file_.write(result.content)
815815
elif filename and self.format_ == 'svg':
816-
content = str(result.content, encoding = 'utf-8')
816+
content = str(result.content, encoding="utf-8").replace("\u200b", " ")
817817
with open(filename, 'wt') as file_:
818818
file_.write(content)
819819

0 commit comments

Comments
 (0)