diff --git a/plugins/cleanupNumericValues.js b/plugins/cleanupNumericValues.js index e91fdf25..f7c8a1ee 100644 --- a/plugins/cleanupNumericValues.js +++ b/plugins/cleanupNumericValues.js @@ -48,6 +48,9 @@ exports.fn = function(item, params) { } item.eachAttr(function(attr) { + // The `version` attribute is a text string and cannot be rounded + if (attr.name === 'version') { return } + var match = attr.value.match(regNumericValues); // if attribute value matches regNumericValues