diff --git a/plugins/cleanupListOfValues.js b/plugins/cleanupListOfValues.js index f6478241..80866e14 100644 --- a/plugins/cleanupListOfValues.js +++ b/plugins/cleanupListOfValues.js @@ -102,7 +102,7 @@ exports.fn = function(item, params) { units = ''; } - roundedListArr.push(num); + roundedListArr.push(num+units); } // if attribute value is "new"(only enable-background). diff --git a/test/plugins/cleanupListOfValues.01.svg b/test/plugins/cleanupListOfValues.01.svg new file mode 100644 index 00000000..dc7e8e64 --- /dev/null +++ b/test/plugins/cleanupListOfValues.01.svg @@ -0,0 +1,9 @@ + + test + + +@@@ + + + test + diff --git a/test/plugins/cleanupListOfValues.02.svg b/test/plugins/cleanupListOfValues.02.svg new file mode 100644 index 00000000..e16dc90a --- /dev/null +++ b/test/plugins/cleanupListOfValues.02.svg @@ -0,0 +1,11 @@ + + + test + + +@@@ + + + + test + diff --git a/test/plugins/cleanupListOfValues.03.svg b/test/plugins/cleanupListOfValues.03.svg new file mode 100644 index 00000000..3c44411e --- /dev/null +++ b/test/plugins/cleanupListOfValues.03.svg @@ -0,0 +1,13 @@ + + + test + + + +@@@ + + + + test + +