diff options
author | Waylan Limberg <waylan@gmail.com> | 2011-08-02 09:23:49 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2011-08-02 09:23:49 -0400 |
commit | 7af553173629d8d8e36e71fbf2753dc8d6fe11d3 (patch) | |
tree | b9f2460776fe98511f3c713b5ae5fd5b3899bfaf /markdown/extensions/abbr.py | |
parent | 447e238186f30f3480afadb68aaf5efa4f6dfc9e (diff) | |
download | markdown-7af553173629d8d8e36e71fbf2753dc8d6fe11d3.tar.gz markdown-7af553173629d8d8e36e71fbf2753dc8d6fe11d3.tar.bz2 markdown-7af553173629d8d8e36e71fbf2753dc8d6fe11d3.zip |
Added doctests to fabfile and edited them to pass in all supported versions of python. Note: one test (meta) is still failing on Python 3 due to unicode strings.
Diffstat (limited to 'markdown/extensions/abbr.py')
-rw-r--r-- | markdown/extensions/abbr.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/markdown/extensions/abbr.py b/markdown/extensions/abbr.py index bc346cc..45663c0 100644 --- a/markdown/extensions/abbr.py +++ b/markdown/extensions/abbr.py @@ -13,8 +13,8 @@ Simple Usage: ... *[ABBR]: Abbreviation ... *[REF]: Abbreviation Reference ... """ - >>> markdown.markdown(text, ['abbr']) - u'<p>Some text with an <abbr title="Abbreviation">ABBR</abbr> and a <abbr title="Abbreviation Reference">REF</abbr>. Ignore REFERENCE and ref.</p>' + >>> print markdown.markdown(text, ['abbr']) + <p>Some text with an <abbr title="Abbreviation">ABBR</abbr> and a <abbr title="Abbreviation Reference">REF</abbr>. Ignore REFERENCE and ref.</p> Copyright 2007-2008 * [Waylan Limberg](http://achinghead.com/) |