From 9c0a10df63dc07350b7c9623c61b53832c4eb919 Mon Sep 17 00:00:00 2001 From: FinnStutzenstein Date: Thu, 20 Jul 2017 14:43:58 +0200 Subject: [PATCH] fixing wrong entered comments --- openslides/motions/static/js/motions/docx.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/openslides/motions/static/js/motions/docx.js b/openslides/motions/static/js/motions/docx.js index c37367287..ea76be16d 100644 --- a/openslides/motions/static/js/motions/docx.js +++ b/openslides/motions/static/js/motions/docx.js @@ -154,9 +154,13 @@ angular.module('OpenSlidesApp.motions.docx', ['OpenSlidesApp.core.docx']) if (!fields[i].public) { title += ' (' + gettextCatalog.getString('internal') + ')'; } + var comment = motion.comments[i]; + if (comment.indexOf('

') !== 0) { + comment = '

' + comment + '

'; + } comments.push({ title: title, - comment: motion.comments[i], + comment: comment, }); } }