biofriction-wp-theme/node_modules/clean-css/lib/optimizer/level-1/tidy-at-rule.js

10 lines
177 B
JavaScript
Raw Permalink Normal View History

2021-10-26 14:18:09 +02:00
function tidyAtRule(value) {
return value
.replace(/\s+/g, ' ')
.replace(/url\(\s+/g, 'url(')
.replace(/\s+\)/g, ')')
.trim();
}
module.exports = tidyAtRule;