Merge pull request #3349 from FinnStutzenstein/ColorInPdf

Fixing wrong styles in PDF
This commit is contained in:
Norman Jäckel 2017-08-12 13:48:08 +02:00 committed by GitHub
commit e2a32e403d

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");