Skip to content

Commit 7841a8e

Browse files
ars18wrwiText-CI
authored andcommitted
Squash multiple spaces into one if necessary.
DEVSIX-2044 Autoported commit. Original commit hash: [e99dbe914]
1 parent 610b582 commit 7841a8e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

itext/itext.svg/itext/svg/renderers/impl/PathSvgNodeRenderer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ private ICollection<IPathShape> GetShapes() {
299299
ICollection<String> parsedResults = ParsePropertiesAndStyles();
300300
IList<IPathShape> shapes = new List<IPathShape>();
301301
foreach (String parsedResult in parsedResults) {
302-
String[] pathProperties = iText.IO.Util.StringUtil.Split(parsedResult, SPACE_CHAR);
302+
String[] pathProperties = iText.IO.Util.StringUtil.Split(parsedResult, " +");
303303
IPathShape previousShape = shapes.Count == 0 ? null : shapes[shapes.Count - 1];
304304
IList<IPathShape> operatorShapes = ProcessPathOperator(pathProperties, previousShape);
305305
shapes.AddAll(operatorShapes);

port-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0b9c18600f3ca4538b045a49e452c26c4b6f95d7
1+
e99dbe914786cca75c9c578f9f55dba2503be491

0 commit comments

Comments
 (0)