Skip to content
Permalink
Browse files
Add missing raw string specifier [ci skip]
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Sep 3, 2018
1 parent 42a3245 commit 3612b4810a41070b463e2a7793f10ed8a97c3f5a
Showing 1 changed file with 1 addition and 1 deletion.
@@ -467,7 +467,7 @@ def transform_html(self, text):
# Inject livereload.js
text = text.replace('</head>', self.snippet, 1)
# Disable <base> tag
text = re.sub(r'<base\s([^>]*)>', '<!--base \g<1>-->', text, flags=re.IGNORECASE)
text = re.sub(r'<base\s([^>]*)>', r'<!--base \g<1>-->', text, flags=re.IGNORECASE)
return text


0 comments on commit 3612b48

Please sign in to comment.