diff browser_side/richtext.py @ 356:b95099a1d11b

browser_side: do not use addURLToText to display Microblog XHTML content
author souliane <souliane@mailoo.org>
date Thu, 13 Feb 2014 12:53:07 +0100
parents 9bb78c09e9fc
children 2b5503392fbd
line wrap: on
line diff
--- a/browser_side/richtext.py	Thu Feb 13 10:32:26 2014 +0100
+++ b/browser_side/richtext.py	Thu Feb 13 12:53:07 2014 +0100
@@ -95,7 +95,7 @@
         if hasattr(self, 'toolbar'):
             self.toolbar.setVisible(False)
         if not hasattr(self, 'display'):
-            self.display = LightTextEditor()  # for display mode
+            self.display = LightTextEditor(enhance_display=False)  # for display mode
         if not self.read_only and not hasattr(self, 'textarea'):
             self.textarea = TextArea()  # for edition mode
             self.textarea.addStyleName(self.style['textarea'])