From bb5394eb36605738bfc9cd606b41d20b771857d8 Mon Sep 17 00:00:00 2001 From: sean Date: Wed, 22 Mar 2017 14:39:30 +0100 Subject: [PATCH] fix pdf style parsing issue (fixes #2811) --- openslides/core/static/js/core/pdf.js | 1 + 1 file changed, 1 insertion(+) diff --git a/openslides/core/static/js/core/pdf.js b/openslides/core/static/js/core/pdf.js index 21c0bb978..6b08fac44 100644 --- a/openslides/core/static/js/core/pdf.js +++ b/openslides/core/static/js/core/pdf.js @@ -499,6 +499,7 @@ angular.module('OpenSlidesApp.core.pdf', []) ParseElement = function(alreadyConverted, element, currentParagraph, styles, diff_mode) { styles = styles || []; if (element.getAttribute) { + styles = []; var nodeStyle = element.getAttribute("style"); if (nodeStyle) { nodeStyle.split(";").forEach(function(nodeStyle) {