On Mon, Mar 29, 2010 at 8:44 PM, Edward K. Ream <[email protected]> wrote:

> At present, the qtLog.put method contains the following code:
>
>     s=s.replace('&', '&amp;').replace('<', '&lt;').replace('>',
> '&gt;')
>     if not self.wrap: # 2010/02/21: Use &nbsp; only when not
> wrapping!
>        s = s.replace(' ','&nbsp;')
>     s = s.rstrip().replace('\n','<br>')

That code is required if html is added to the log (for color
support?). Back in the early days, the log used setHtml() IIRC.

-- 
Ville M. Vainio
http://tinyurl.com/vainio

-- 
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.

Reply via email to