fixing wrong entered comments

This commit is contained in:
FinnStutzenstein 2017-07-20 14:43:58 +02:00
parent 9c1d2319ac
commit 9c0a10df63

View File

@ -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('<p>') !== 0) {
comment = '<p>' + comment + '</p>';
}
comments.push({
title: title,
comment: motion.comments[i],
comment: comment,
});
}
}