aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Rahmatullin <wrar@wrar.name>2014-05-31 22:13:23 +0600
committerAndrey Rahmatullin <wrar@wrar.name>2014-05-31 22:13:23 +0600
commit445e263a0c571e465b9b03fae867eebf4004429c (patch)
tree9683879e1546d4049fde48938de9201e733d031d
parent8faef1620823eb10e3a76711621f53782f7fe36b (diff)
downloadmarkdown-445e263a0c571e465b9b03fae867eebf4004429c.tar.gz
markdown-445e263a0c571e465b9b03fae867eebf4004429c.tar.bz2
markdown-445e263a0c571e465b9b03fae867eebf4004429c.zip
Fix a doctest in fenced_code.py.
-rw-r--r--markdown/extensions/fenced_code.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/markdown/extensions/fenced_code.py b/markdown/extensions/fenced_code.py
index d6e043c..0bbd9e0 100644
--- a/markdown/extensions/fenced_code.py
+++ b/markdown/extensions/fenced_code.py
@@ -68,10 +68,10 @@ If the codehighlite extension and Pygments are installed, lines can be highlight
... line 3
... ```'''
>>> print markdown.markdown(text, extensions=['codehilite', 'fenced_code'])
- <pre><code><span class="hilight">line 1</span>
- line 2
- <span class="hilight">line 3</span>
- </code></pre>
+ <div class="codehilite"><pre><span class="hll"><span class="n">line</span> <span class="mi">1</span>
+ </span><span class="n">line</span> <span class="mi">2</span>
+ <span class="hll"><span class="n">line</span> <span class="mi">3</span>
+ </span></pre></div>
Copyright 2007-2008 [Waylan Limberg](http://achinghead.com/).