Draft: Fixed use of double quotes in Draft Texts

This commit is contained in:
Yorik van Havre
2021-05-21 15:35:29 +02:00
parent 3ba585a807
commit dbd7dbd332

View File

@@ -86,6 +86,7 @@ class Text(gui_base_original.Creator):
def createObject(self):
"""Create the actual object in the current document."""
text_list = self.text
text_list = [text.replace("\"","\\\"") for text in text_list]
# If the last element is an empty string "" we remove it
if not text_list[-1]: