summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2007-06-01 11:41:24 +0200
committergbrandl <devnull@localhost>2007-06-01 11:41:24 +0200
commitcf51fb60daad7d81c2e5d1fb745c27a797c43007 (patch)
tree8c66f517081e06e29f277fd9cb300dcba403a26e
parent2d51ba32a8d1a3aa53b0d1357926a4121af20db4 (diff)
downloadpygments-cf51fb60daad7d81c2e5d1fb745c27a797c43007.tar.gz
[svn] Fix typo.
-rw-r--r--docs/src/rstdirective.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/src/rstdirective.txt b/docs/src/rstdirective.txt
index ac7ddee7..28a6549d 100644
--- a/docs/src/rstdirective.txt
+++ b/docs/src/rstdirective.txt
@@ -56,7 +56,7 @@ ReST *directive options*, like so:
except ValueError:
# no lexer found - use the text one instead of an exception
lexer = get_lexer_by_name('text')
- formatter = ('linenos' in options) and lineno_fmter ornormal_fmter
+ formatter = ('linenos' in options) and lineno_fmter or normal_fmter
parsed = highlight(u'\n'.join(content), lexer, formatter)
return [nodes.raw('', parsed, format='html')]
pygments_directive.arguments = (1, 0, 1)