Skip to content

Commit 47091c8

Browse files
author
Humberto Sanchez II
committed
<type>[optional scope]: <Fix Text>
[optional body] [#48]
1 parent 2b8684a commit 47091c8

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
pip install hasiicommon~=0.2.2
3838
pip install ogl~=0.70.26
3939
pip install untangle==1.2.1
40-
pip install buildlackey~=0.7.0
40+
pip install buildlackey~=0.8.1
4141
- run:
4242
name: run tests
4343
command: |

requirements.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
wheel==0.40.0
2-
setuptools==67.6.1
2+
setuptools==67.7.2
33
twine==4.0.2
44
build==0.10.0
55
html-testRunner~=1.2.1
66

7+
buildlackey~=0.8.1
8+
79
mypy==1.2.0
810
mypy-extensions==1.0.0
911
types-Deprecated==1.2.9.2
10-
types-setuptools==67.6.0.7
12+
types-setuptools==67.7.0.1
1113
typing_extensions==4.5.0
1214

1315
Deprecated~=1.2.13

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setup(
1212
name="untanglepyut",
13-
version="0.6.57",
13+
version="0.6.58",
1414
author_email='[email protected]',
1515
description='XML to Ogl Object Model',
1616
long_description=README,
30 Bytes
Binary file not shown.

untanglepyut/UnTanglePyut.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,11 @@ def textToPyutText(self, graphicText: Element) -> PyutText:
106106
textElement: Element = graphicText.Text
107107
pyutText: PyutText = PyutText()
108108

109-
pyutText.id = textElement['id']
110-
pyutText.content = textElement['content']
109+
pyutText.id = textElement['id']
110+
111+
rawContent: str = textElement['content']
112+
cleanContent: str = rawContent.replace(UnTanglePyut.END_OF_LINE_MARKER, osLineSep)
113+
pyutText.content = cleanContent
111114

112115
return pyutText
113116

0 commit comments

Comments
 (0)