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) {
|
||||
styles = styles || [];
|
||||
if (element.getAttribute) {
|
||||
styles = [];
|
||||
var nodeStyle = element.getAttribute("style");
|
||||
if (nodeStyle) {
|
||||
nodeStyle.split(";").forEach(function(nodeStyle) {
|
||||
|
Loading…
Reference in New Issue
Block a user