Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1, 2.1.1, and 2.1.2

qtlib: force unicode for the markup strings

Changeset 7ad3aeca6803

Parent 9c31c1846f62

by Gilles Moris

Changes to one file · Browse files at 7ad3aeca6803 Showing diff from parent 9c31c1846f62 Diff from another changeset...

 
291
292
293
294
 
295
296
297
 
291
292
293
 
294
295
296
297
@@ -291,7 +291,7 @@
  msg = hglib.tounicode(msg)   msg = Qt.escape(msg)   msg = msg.replace('\n', '<br />') - return '<span style="%s">%s</span>' % (style, msg) + return u'<span style="%s">%s</span>' % (style, msg)    def descriptionhtmlizer(ui):   """Return a function to mark up ctx.description() as an HTML