summaryrefslogtreecommitdiff
path: root/sphinx/util/nodes.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/util/nodes.py')
-rw-r--r--sphinx/util/nodes.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/util/nodes.py b/sphinx/util/nodes.py
index 98f84f2bf..e4a2fd73b 100644
--- a/sphinx/util/nodes.py
+++ b/sphinx/util/nodes.py
@@ -302,4 +302,5 @@ def _new_copy(self):
newnode.line = self.line
return newnode
+
nodes.Element.copy = _new_copy