diff options
author | Waylan Limberg <waylan.limberg@icloud.com> | 2014-11-20 16:07:03 -0500 |
---|---|---|
committer | Waylan Limberg <waylan.limberg@icloud.com> | 2014-11-20 16:07:03 -0500 |
commit | 8f66a94eab1389d97041944ed24afd2bf7c4389c (patch) | |
tree | 10b53664076650be951468cbbb163f3d637e5891 /markdown/extensions/nl2br.py | |
parent | 0c2143819ef7de53be52f7a4d47e027ff194a9b4 (diff) | |
download | markdown-8f66a94eab1389d97041944ed24afd2bf7c4389c.tar.gz markdown-8f66a94eab1389d97041944ed24afd2bf7c4389c.tar.bz2 markdown-8f66a94eab1389d97041944ed24afd2bf7c4389c.zip |
Flake8 cleanup (mostly whitespace).
Got all but a couple files in the tests (ran out of time today).
Apparently I have been using some bad form for years (although a few
things seemed to look better before the update). Anyway, conformant now.
Diffstat (limited to 'markdown/extensions/nl2br.py')
-rw-r--r-- | markdown/extensions/nl2br.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/markdown/extensions/nl2br.py b/markdown/extensions/nl2br.py index 062a7e6..8acd60c 100644 --- a/markdown/extensions/nl2br.py +++ b/markdown/extensions/nl2br.py @@ -5,14 +5,14 @@ NL2BR Extension A Python-Markdown extension to treat newlines as hard breaks; like GitHub-flavored Markdown does. -See <https://pythonhosted.org/Markdown/extensions/nl2br.html> +See <https://pythonhosted.org/Markdown/extensions/nl2br.html> for documentation. Oringinal code Copyright 2011 [Brian Neal](http://deathofagremmie.com/) All changes Copyright 2011-2014 The Python Markdown Project -License: [BSD](http://www.opensource.org/licenses/bsd-license.php) +License: [BSD](http://www.opensource.org/licenses/bsd-license.php) """ @@ -23,6 +23,7 @@ from ..inlinepatterns import SubstituteTagPattern BR_RE = r'\n' + class Nl2BrExtension(Extension): def extendMarkdown(self, md, md_globals): @@ -32,4 +33,3 @@ class Nl2BrExtension(Extension): def makeExtension(*args, **kwargs): return Nl2BrExtension(*args, **kwargs) - |