Merge pull request #3129 from tsiegleauq/issue2811-more-parsing-issues
fix pdf style parsing issue (fixes #2811)
This commit is contained in:
commit
0c3ecb0acb
@ -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