From b249df71b6c3806698e42c1b3c04e8cad0b6f5b9 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Sun, 11 May 2025 13:46:44 +0900 Subject: [PATCH] Fix #2550 incorrect handling of absolute URLs in imported SCSS files --- common/framework/Formatter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/framework/Formatter.php b/common/framework/Formatter.php index e06bd85a0..3d68eb3c9 100644 --- a/common/framework/Formatter.php +++ b/common/framework/Formatter.php @@ -453,8 +453,8 @@ class Formatter } if ($import_type === 'scss') { - $import_content = preg_replace('!//.*?\n!s', '', $import_content); - $import_content = preg_replace('![\r\n]+!', ' ', $import_content); + $import_content = preg_replace('@(?