Skip to content

Commit 1f9d21e

Browse files
committed
fixed encoding for export to svg
1 parent 028edea commit 1f9d21e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vector/Stage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1658,7 +1658,7 @@ acgraph.vector.Stage.prototype.toSvg = function(opt_paperSizeOrWidth, opt_landsc
16581658
acgraph.getRenderer().setStageSize(this.domElement(), this.originalWidth, this.originalHeight);
16591659
}
16601660

1661-
return result;
1661+
return '<?xml version="1.0" encoding="UTF-8" standalone="no"?>' + result;
16621662
};
16631663

16641664

0 commit comments

Comments
 (0)