Merge pull request #3349 from FinnStutzenstein/ColorInPdf
Fixing wrong styles in PDF
This commit is contained in:
commit
e2a32e403d
@ -590,7 +590,7 @@ angular.module('OpenSlidesApp.core.pdf', [])
|
|||||||
* @param {number} diff_mode
|
* @param {number} diff_mode
|
||||||
*/
|
*/
|
||||||
ParseElement = function(alreadyConverted, element, currentParagraph, styles, diff_mode) {
|
ParseElement = function(alreadyConverted, element, currentParagraph, styles, diff_mode) {
|
||||||
styles = styles || [];
|
styles = styles ? _.clone(styles) : [];
|
||||||
var classes = [];
|
var classes = [];
|
||||||
if (element.getAttribute) {
|
if (element.getAttribute) {
|
||||||
var nodeStyle = element.getAttribute("style");
|
var nodeStyle = element.getAttribute("style");
|
||||||
|
Loading…
Reference in New Issue
Block a user