Modify ↓
Opened 18 years ago
Closed 18 years ago
#845 closed defect (fixed)
fail for marshaling on wiki.wikiToHtml()
Reported by: | Shun-ichi Goto | Owned by: | Alec Thomas |
---|---|---|---|
Priority: | normal | Component: | XmlRpcPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
The method wiki.wikiToHtml()
cause error:
cannot marshal <class 'trac.util.html.Markup'> objects
Here is a patch to fix.
-
wiki.py
167 167 168 168 def wikiToHtml(self, req, text): 169 169 """ Render arbitrary Wiki text as HTML. """ 170 return wiki_to_html(text, self.env, req, absurls=1)170 return unicode(wiki_to_html(text, self.env, req, absurls=1))
Attachments (0)
Note: See
TracTickets for help on using
tickets.
Thanks for this patch -- my installation now works!