From c430b5e5e38f6ecc3454d9324107b0ad40f2a76d Mon Sep 17 00:00:00 2001 From: Joachim Bauch Date: Wed, 29 Jun 2016 10:29:47 +0200 Subject: [PATCH] Replace prefix "$" in parameter names. --- src/i18n/helpers/checkHTML.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/i18n/helpers/checkHTML.py b/src/i18n/helpers/checkHTML.py index d1792ea6..80bdb402 100644 --- a/src/i18n/helpers/checkHTML.py +++ b/src/i18n/helpers/checkHTML.py @@ -27,6 +27,7 @@ def main(templates, output_folder=None): html = unicode(html, "UTF-8") html = re.sub(r"\|(\w|:|\"|\')+", "", html) + html = html.replace(", $", ", ") if output_folder: tf = os.path.join(output_folder, os.path.split(fn)[1])