Index: compile_rules_js_convert.py ================================================================== --- compile_rules_js_convert.py +++ compile_rules_js_convert.py @@ -8,10 +8,11 @@ def py2js (sCode): "convert Python code to JavaScript code" # Python strings + sCode = sCode.replace(' ', ' ') sCode = sCode.replace('(r"', '("') sCode = sCode.replace("(r'", "('") sCode = sCode.replace(' r"', ' "') sCode = sCode.replace(" r'", " '") sCode = sCode.replace(',r"', ',"')