diff --git a/README.md b/README.md index 94a4484..d1b6e7d 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ It contains the original `svg2xml` tool; it aims to improve it and to add the fo easy integration in JS programs - add [svg2js](#svg2js): convert an SVG file into a set of `mxGraph` JavaScript/TypeScript commands -**NOTE**: The main purpose of this repository is to provide the svg2js tool and to use it when developing [bpmn-visualization](https://https://github.com/process-analytics/bpmn-visualization-js). +**NOTE**: The main purpose of this repository is to provide the `svg2js` tool and to use it when developing [bpmn-visualization](https://https://github.com/process-analytics/bpmn-visualization-js). ## Build diff --git a/src/test/java/com/mxgraph/svg2xml/Svg2XmlTest.java b/src/test/java/com/mxgraph/svg2xml/Svg2XmlTest.java index b85ba24..c1f5404 100644 --- a/src/test/java/com/mxgraph/svg2xml/Svg2XmlTest.java +++ b/src/test/java/com/mxgraph/svg2xml/Svg2XmlTest.java @@ -78,4 +78,11 @@ void convertToXml_files_from_two_folders_without_subfolders_files_given_ordered_ ); } -} \ No newline at end of file + @Test + void issue_upstream_24() { + Svg2Xml svg2Xml = newSvg2Xml(); + File destPath = destinationFolder("upstream_issue_24"); + svg2Xml.convertToXml(svgSourceFiles("upstream-issue-24/entry.svg"), destPath); + } + +} diff --git a/src/test/resources/svg/upstream-issue-24/entry.svg b/src/test/resources/svg/upstream-issue-24/entry.svg new file mode 100644 index 0000000..84c91dd --- /dev/null +++ b/src/test/resources/svg/upstream-issue-24/entry.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + +