From 5d902d809fc6e47fc7749dfa78153defeb00d41c Mon Sep 17 00:00:00 2001 From: FinnStutzenstein Date: Fri, 11 Aug 2017 10:34:03 +0200 Subject: [PATCH] Fixing wrong stlyes in PDF --- openslides/core/static/js/core/pdf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openslides/core/static/js/core/pdf.js b/openslides/core/static/js/core/pdf.js index 4f41a5f5b..cbaafa8f0 100644 --- a/openslides/core/static/js/core/pdf.js +++ b/openslides/core/static/js/core/pdf.js @@ -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");