summaryrefslogtreecommitdiff
path: root/sphinx/util/websupport.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-11-20 18:00:11 +0100
committerGeorg Brandl <georg@python.org>2010-11-20 18:00:11 +0100
commitfbaae8b740da42ddcff7ee419545ec9457339806 (patch)
tree0613ca28a8c0fb62d8cd702f5640adefda7e8657 /sphinx/util/websupport.py
parent2ab934b2322050f3554c5f28ef4827ebecd90571 (diff)
downloadsphinx-git-fbaae8b740da42ddcff7ee419545ec9457339806.tar.gz
For now, do not allow comments on literals.
Diffstat (limited to 'sphinx/util/websupport.py')
-rw-r--r--sphinx/util/websupport.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/util/websupport.py b/sphinx/util/websupport.py
index 510ecbe0e..446093ff7 100644
--- a/sphinx/util/websupport.py
+++ b/sphinx/util/websupport.py
@@ -8,4 +8,5 @@
"""
def is_commentable(node):
- return node.__class__.__name__ in ('paragraph', 'literal_block')
+ #return node.__class__.__name__ in ('paragraph', 'literal_block')
+ return node.__class__.__name__ == 'paragraph'