Fixing wrong stlyes in PDF

This commit is contained in:
FinnStutzenstein 2017-08-11 10:34:03 +02:00
parent 2aeaf251a2
commit 5d902d809f

View File

@ -590,7 +590,7 @@ angular.module('OpenSlidesApp.core.pdf', [])
* @param {number} diff_mode
*/
ParseElement = function(alreadyConverted, element, currentParagraph, styles, diff_mode) {
styles = styles || [];
styles = styles ? _.clone(styles) : [];
var classes = [];
if (element.getAttribute) {
var nodeStyle = element.getAttribute("style");