From 2a5f0bcda82d1c6b604a3bbbcc8f1396291d3526 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Sat, 24 Jun 2017 13:10:12 +0200 Subject: [PATCH] [DEBUG] missing \ befor the " elements --- lutinMacro_zeus.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lutinMacro_zeus.py b/lutinMacro_zeus.py index a6e3cbe..c690cc7 100644 --- a/lutinMacro_zeus.py +++ b/lutinMacro_zeus.py @@ -214,7 +214,7 @@ class FunctionDefinition: self.parameters.append({ "type":"", "name":remove_start_stop_spacer(name), - "brief":remove_start_stop_spacer(desc) + "brief":remove_start_stop_spacer(desc).replace("\"", "\\\"") }) def set_return_comment(self, desc): @@ -389,10 +389,10 @@ class ServiceDefinition: self.brief = remove_start_stop_spacer(value).replace("\"", "\\\"") def set_version(self, value): - self.version = remove_start_stop_spacer(value) + self.version = remove_start_stop_spacer(value).replace("\"", "\\\"") def set_api(self, value): - self.api = remove_start_stop_spacer(value) + self.api = remove_start_stop_spacer(value).replace("\"", "\\\"") def add_author(self, value): self.authors.append(remove_start_stop_spacer(value).replace("\"", "\\\""))