Merge pull request #3321 from FinnStutzenstein/docx-comments-filter

fixing wrong entered comments
This commit is contained in:
Emanuel Schütze 2017-07-26 14:33:04 +02:00 committed by GitHub
commit c58f3071f2

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,
});
}
}