Commits

Georg Brandl  committed 220bd5e

Re-add monkey patch whose removal made latex build fail.

  • Participants
  • Parent commits 606d610

Comments (0)

Files changed (1)

File sphinx/util/nodes.py

     return key in self.children
 
 nodes.Node.__contains__ = _new_contains
+
+# monkey-patch Element.copy to copy the rawsource
+
+def _new_copy(self):
+    return self.__class__(self.rawsource, **self.attributes)
+
+nodes.Element.copy = _new_copy