solved firefox bug; maybe needs better solution
This commit is contained in:
parent
2c76ae4ebd
commit
6298863098
1 changed files with 4 additions and 0 deletions
|
|
@ -629,6 +629,10 @@ $(function(){
|
|||
var w = dpiFactor * self.workingAreaWidthMM();
|
||||
var h = dpiFactor * self.workingAreaHeightMM();
|
||||
|
||||
// TODO: look for better solution to solve this Firefox bug problem
|
||||
tmpsvg = tmpsvg.replace("(\\\"","(");
|
||||
tmpsvg = tmpsvg.replace("\\\")",")");
|
||||
|
||||
var svg = '<svg height="'+ h +'" version="1.1" width="'+ w +'" xmlns="http://www.w3.org/2000/svg"><defs/>'+ tmpsvg +'</svg>';
|
||||
return svg;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue