From 51760a0fdedd75bea652acb2a666f943ea947f30 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 29 Dec 2009 12:48:48 +0100 Subject: [PATCH] Try fixing problems with docutils 0.4. --- sphinx/builders/epub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx/builders/epub.py b/sphinx/builders/epub.py index cfe6a7372..46cf7641e 100644 --- a/sphinx/builders/epub.py +++ b/sphinx/builders/epub.py @@ -160,7 +160,7 @@ class EpubBuilder(StandaloneHTMLBuilder): """Remove all HTML markup and return only the text nodes.""" for c in doctree.children: if isinstance(c, nodes.Text): - result.append(unicode(c)) + result.append(c) else: result = self.collapse_text(c, result) return result