diff --git a/src/language-css/parser-postcss.js b/src/language-css/parser-postcss.js index 7c626a196703..4d961278bcfb 100644 --- a/src/language-css/parser-postcss.js +++ b/src/language-css/parser-postcss.js @@ -347,7 +347,7 @@ function parseNestedCSS(node) { return node; } - if (node.type !== "css-comment-yaml" && value.length > 0) { + if (value.length > 0) { const defaultSCSSDirectiveIndex = value.match(DEFAULT_SCSS_DIRECTIVE); if (defaultSCSSDirectiveIndex) { diff --git a/src/language-css/printer-postcss.js b/src/language-css/printer-postcss.js index 3dada0825065..d29d57460ead 100644 --- a/src/language-css/printer-postcss.js +++ b/src/language-css/printer-postcss.js @@ -377,7 +377,7 @@ function genericPrint(path, options, print) { node.namespace ? concat([node.namespace === true ? "" : node.namespace.trim(), "|"]) : "", - adjustNumbers(node.value) + node.value ]); } case "selector-pseudo": {