Update robot publish parser
[csit.git] / resources / tools / robot_output_parser_publish.py
index 92038b5..c3390cb 100755 (executable)
@@ -136,7 +136,8 @@ class ExecutionChecker(ResultVisitor):
         elif self.formatting == 'wiki':
             sys.stdout.write('|-'+'\n')
             sys.stdout.write('|'+test.name+'\n')
-            sys.stdout.write('|'+test.doc+'\n')
+            sys.stdout.write('|'+test.doc.replace('\n', ' ').replace('\r',\
+                '')+'\n')
             if any("PERFTEST_LONG" in tag for tag in test.tags):
                 sys.stdout.write('|'+test.message+'\n')
             sys.stdout.write('|'+test.status+'\n')