diff options
author | Nick Doiron <ndoiron@mapmeld.com> | 2011-05-12 18:01:58 (GMT) |
---|---|---|
committer | Nick Doiron <ndoiron@mapmeld.com> | 2011-05-12 18:01:58 (GMT) |
commit | 83e0bcf3ad20f1b5d597bbb4b0848fac1cf19d32 (patch) | |
tree | 8c8999c9a71876cbd25ceacbd7c0b69672189529 /XOCom.py | |
parent | 5135d08908e319e23fa4d29ea109ffa6a08be7bb (diff) |
Diffstat (limited to 'XOCom.py')
-rw-r--r-- | XOCom.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -74,7 +74,7 @@ class XOCom: # and return any value received from the javascript def send_to_browser(self, command, parameter=None): if((command == "read") and (parameter is not None)): - self.web_view.load_uri("javascript:XO.observer.setSheet('"+parameter.replace('\\n','DECNEWLINE').replace('\n','NEWLINE').replace("'","\\'")+"');void(0);") + self.web_view.load_uri("javascript:XO.observer.setSheet('"+parameter.replace('\\n','DECNEWLINE').replace('\n','NEWLINE').replace("\\","B_SLASH").replace("'","\\'")+"');void(0);") return # Set up an array for parameters and return values for the XPCom call |