summaryrefslogtreecommitdiff
path: root/sphinx/util/websupport.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/util/websupport.py')
-rw-r--r--sphinx/util/websupport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/websupport.py b/sphinx/util/websupport.py
index 5535da569..65c48296e 100644
--- a/sphinx/util/websupport.py
+++ b/sphinx/util/websupport.py
@@ -10,4 +10,4 @@
def is_commentable(node):
#return node.__class__.__name__ in ('paragraph', 'literal_block')
- return node.__class__.__name__ == 'paragraph' and hasattr(node, 'uid')
+ return node.__class__.__name__ == 'paragraph'