try to fix error

This commit is contained in:
chiu 2020-02-26 22:36:50 +08:00
parent 1e92ace50c
commit 1c7672c77c
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ all_template.each do |folder|
s1 = texts.scan(/{|}/)
if s1.count % 2 != 0
i = texts.rindex(s1[-1])
texts[i] = ''
texts[i] = ""
end
regex_pattern = /.response-content {\n position: relative;\n}\n|.response-content[^{]*{[^}]*@media[^{]*{[^{]*}[^{]*@media[^{]*{[^{]*}[^}]*}[^}]*}/m
if !texts.include? "$font-h1:"