1. Gregg Lind
  2. sphinx

Commits

Georg Brandl  committed 0cb2329

Try fixing problems with docutils 0.4.

  • Participants
  • Parent commits e2ae19d
  • Branches default

Comments (0)

Files changed (1)

File sphinx/builders/epub.py

View file
  • Ignore whitespace
        """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