We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0575517 commit ddbe63aCopy full SHA for ddbe63a
lib/mj-single.js
@@ -648,6 +648,17 @@ function GetSVG(result) {
648
' />'
649
].join("");
650
}
651
+
652
+ //
653
+ // Add metadata to the results
654
655
+ if (data.svg){
656
+ result.svg = svgdata;
657
+ result.width = svg.getAttribute("width");
658
+ result.height = svg.getAttribute("height");
659
+ result.style = svg.style.cssText;
660
+ }
661
662
663
664
//
0 commit comments