This is a follow up on the thread:
Redirected stdout and stderr contains   characters
http://groups.google.com/group/leo-editor/browse_thread/thread/3f91f7234728161d
At present, the qtLog.put method contains the following code:
s=s.replace('&', '&').replace('<', '<').replace('>',
'>')
if not self.wrap: # 2010/02/21: Use only when not
wrapping!
s = s.replace(' ',' ')
s = s.rstrip().replace('\n','<br>')
The code appears to work without this, and all unit tests pass without
it, but I suspect there is a reason for it :-) Perhaps a plugin
diddles the log?
bzr blame says leo_haq is responsible for a change to the first line,
but this is ancient code so it's not so easy to say where it first
arose.
Does anyone know for sure why this code exists?
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en.