diff options
| author | georg.brandl <devnull@localhost> | 2007-08-04 23:33:10 +0000 |
|---|---|---|
| committer | georg.brandl <devnull@localhost> | 2007-08-04 23:33:10 +0000 |
| commit | 30223bd408a3078562d96f8b5e29adbc795fccfb (patch) | |
| tree | 50f63b04a632f098cd6e3b14e9a7a5753ee12fd6 /sphinx/addnodes.py | |
| parent | 15ec3428cf60b032e70e04fc5785d178a6a36c7a (diff) | |
| download | sphinx-30223bd408a3078562d96f8b5e29adbc795fccfb.tar.gz | |
Only highlight snippets as Python if they can be parsed as Python.
Diffstat (limited to 'sphinx/addnodes.py')
| -rw-r--r-- | sphinx/addnodes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/addnodes.py b/sphinx/addnodes.py index 063fde94..51626d03 100644 --- a/sphinx/addnodes.py +++ b/sphinx/addnodes.py @@ -50,7 +50,7 @@ class compact_paragraph(nodes.paragraph): pass # sets the highlighting language for literal blocks class highlightlang(nodes.Element): pass -# doesn't apply further text processors, e.g. smartypants +# like emphasis, but doesn't apply further text processors, e.g. smartypants class literal_emphasis(nodes.emphasis): pass # make them known to docutils. this is needed, because the HTMl writer |
