fix pdf style parsing issue (fixes #2811)
This commit is contained in:
parent
6b253ef4b7
commit
bb5394eb36
@ -499,6 +499,7 @@ angular.module('OpenSlidesApp.core.pdf', [])
|
|||||||
ParseElement = function(alreadyConverted, element, currentParagraph, styles, diff_mode) {
|
ParseElement = function(alreadyConverted, element, currentParagraph, styles, diff_mode) {
|
||||||
styles = styles || [];
|
styles = styles || [];
|
||||||
if (element.getAttribute) {
|
if (element.getAttribute) {
|
||||||
|
styles = [];
|
||||||
var nodeStyle = element.getAttribute("style");
|
var nodeStyle = element.getAttribute("style");
|
||||||
if (nodeStyle) {
|
if (nodeStyle) {
|
||||||
nodeStyle.split(";").forEach(function(nodeStyle) {
|
nodeStyle.split(";").forEach(function(nodeStyle) {
|
||||||
|
Loading…
Reference in New Issue
Block a user