fixing wrong entered comments
This commit is contained in:
parent
9c1d2319ac
commit
9c0a10df63
@ -154,9 +154,13 @@ angular.module('OpenSlidesApp.motions.docx', ['OpenSlidesApp.core.docx'])
|
|||||||
if (!fields[i].public) {
|
if (!fields[i].public) {
|
||||||
title += ' (' + gettextCatalog.getString('internal') + ')';
|
title += ' (' + gettextCatalog.getString('internal') + ')';
|
||||||
}
|
}
|
||||||
|
var comment = motion.comments[i];
|
||||||
|
if (comment.indexOf('<p>') !== 0) {
|
||||||
|
comment = '<p>' + comment + '</p>';
|
||||||
|
}
|
||||||
comments.push({
|
comments.push({
|
||||||
title: title,
|
title: title,
|
||||||
comment: motion.comments[i],
|
comment: comment,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user