diff options
Diffstat (limited to 'markdown/extensions/nl2br.py')
-rw-r--r-- | markdown/extensions/nl2br.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/markdown/extensions/nl2br.py b/markdown/extensions/nl2br.py index bd11a74..5ba08a9 100644 --- a/markdown/extensions/nl2br.py +++ b/markdown/extensions/nl2br.py @@ -8,8 +8,9 @@ StackOverflow and GitHub flavored Markdown do. Usage: >>> import markdown - >>> markdown.markdown('line 1\\nline 2', extensions=['nl2br']) - u'<p>line 1<br />\\nline 2</p>' + >>> print markdown.markdown('line 1\\nline 2', extensions=['nl2br']) + <p>line 1<br /> + line 2</p> Copyright 2011 [Brian Neal](http://deathofagremmie.com/) |