Merge pull request #2444 from FinnStutzenstein/Issue2442

Hotfix for issue #2442
This commit is contained in:
Emanuel Schütze 2016-09-27 12:03:32 +02:00 committed by GitHub
commit 4a5aea0b81

View File

@ -484,6 +484,12 @@ angular.module('OpenSlidesApp.core.site', [
if (styles) {
ComputeStyle(temporary, styles);
}
// TODO: This if-clause is a hotfix for issue #2442.
// Do this right! Why is currentParagraph undefined?
if (!currentParagraph) {
currentParagraph = {};
currentParagraph.text = [];
}
currentParagraph.text.push(temporary);
break;
}