From 42bd77ec178bd1d22a3a2a9c8b6e0663ef53ac64 Mon Sep 17 00:00:00 2001 From: tophf Date: Fri, 5 Jan 2018 14:10:27 +0300 Subject: [PATCH] beautify: keep semicolon after /*comment*/ on the same line --- vendor-overwrites/beautify/beautify-css-mod.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor-overwrites/beautify/beautify-css-mod.js b/vendor-overwrites/beautify/beautify-css-mod.js index a03fd7d8..1b4b1ec4 100644 --- a/vendor-overwrites/beautify/beautify-css-mod.js +++ b/vendor-overwrites/beautify/beautify-css-mod.js @@ -407,7 +407,7 @@ } print.text(eatComment()); - print.newLine(); + if (peek() !== ';') print.newLine(); } else if (ch === '/' && peek() === '/') { // single line comment if (!isAfterNewline && last_top_ch !== '{') { print.trim();