fix error

This commit is contained in:
BOYA,CHIU 2021-08-13 12:56:19 +08:00
parent ba3749e3f3
commit 80b2d6953d
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ if bundle_update_flag
i = texts.rindex(s1[-1]) i = texts.rindex(s1[-1])
texts[i] = "" texts[i] = ""
end end
regex_pattern = /[\r\n]*.response-content {\n justify-self: auto;\n}[\r\n]*|[\r\n]*.response-content {\n position: static;\n}[\r\n]*|[\r\n]*.response-content {\n position: relative;\n}[\r\n]*/m #|.response-content[^{]*{[^}]*@media[^{]*{[^{]*}[^{]*@media[^{]*{[^{]*}[^}]*}[^}]*} regex_pattern = /(?=^)[ \t\r\n]*.response-content {\n justify-self: auto;\n}[\r\n]*|(?=^)[ \t\r\n]*.response-content {\n position: static;\n}[\r\n]*|(?=^)[ \t\r\n]*.response-content {\n position: relative;\n}[\r\n]*/m #|.response-content[^{]*{[^}]*@media[^{]*{[^{]*}[^{]*@media[^{]*{[^{]*}[^}]*}[^}]*}
if !texts.include? "$font-h1:" if !texts.include? "$font-h1:"
texts = "$font-h1: 1.5rem;\n$font-h2: 1.35rem;\n$font-h3: 1.2rem;\n$font-h4: 1.1rem;\n$font-h5: 1rem;\n$font-h6: 0.9rem;\n\n" + texts texts = "$font-h1: 1.5rem;\n$font-h2: 1.35rem;\n$font-h3: 1.2rem;\n$font-h4: 1.1rem;\n$font-h5: 1rem;\n$font-h6: 0.9rem;\n\n" + texts
end end