diff options
author | Georg Brandl <georg@python.org> | 2010-11-20 18:00:11 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-11-20 18:00:11 +0100 |
commit | fbaae8b740da42ddcff7ee419545ec9457339806 (patch) | |
tree | 0613ca28a8c0fb62d8cd702f5640adefda7e8657 /sphinx/util/websupport.py | |
parent | 2ab934b2322050f3554c5f28ef4827ebecd90571 (diff) | |
download | sphinx-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.py | 3 |
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' |