From ced7f90e4c5d6708e1209e9b2820716878588fc8 Mon Sep 17 00:00:00 2001 From: Simon Eisenmann Date: Thu, 4 Sep 2014 14:40:43 +0200 Subject: [PATCH] Fixed parsing of arguments which are string in filters. --- src/i18n/helpers/checkHTML.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i18n/helpers/checkHTML.py b/src/i18n/helpers/checkHTML.py index b1667e3d..d1792ea6 100644 --- a/src/i18n/helpers/checkHTML.py +++ b/src/i18n/helpers/checkHTML.py @@ -26,7 +26,7 @@ def main(templates, output_folder=None): fp.close() html = unicode(html, "UTF-8") - html = re.sub(r"\|(\w|:)+", "", html) + html = re.sub(r"\|(\w|:|\"|\')+", "", html) if output_folder: tf = os.path.join(output_folder, os.path.split(fn)[1])