diff options
-rw-r--r-- | sphinx/util/websupport.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/util/websupport.py b/sphinx/util/websupport.py index 050c528a2..5535da569 100644 --- a/sphinx/util/websupport.py +++ b/sphinx/util/websupport.py @@ -7,6 +7,7 @@ :license: BSD, see LICENSE for details. """ + def is_commentable(node): #return node.__class__.__name__ in ('paragraph', 'literal_block') - return node.__class__.__name__ == 'paragraph' + return node.__class__.__name__ == 'paragraph' and hasattr(node, 'uid') |