From 063c12bb1d114c1da7437bad54396d165dfd8cad Mon Sep 17 00:00:00 2001 From: stefan Date: Thu, 12 Mar 2009 14:29:26 +0000 Subject: [PATCH] Serve the correct ReST part in String.rst(). git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4189 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/cgi/templating.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roundup/cgi/templating.py b/roundup/cgi/templating.py index 501ca3c..9cccd2d 100644 --- a/roundup/cgi/templating.py +++ b/roundup/cgi/templating.py @@ -1424,7 +1424,7 @@ class StringHTMLProperty(HTMLProperty): s = self.plain(escape=0, hyperlink=0) if hyperlink: s = self.hyper_re.sub(self._hyper_repl_rst, s) - return ReStructuredText(s, writer_name="html")["body"].encode("utf-8", + return ReStructuredText(s, writer_name="html")["html_body"].encode("utf-8", "replace") def field(self, **kwargs): -- 2.30.2