diff options
-rw-r--r-- | markdown_textwrap/_version.py | 2 | ||||
-rw-r--r-- | md_tw.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/markdown_textwrap/_version.py b/markdown_textwrap/_version.py index 288aac4..a5b4a8e 100644 --- a/markdown_textwrap/_version.py +++ b/markdown_textwrap/_version.py @@ -18,4 +18,4 @@ # along with markdown-textwrap (see COPYING). If not, see # <http://www.gnu.org/licenses/>. -__version__ = '0.1.1' +__version__ = '0.2.0.dev' @@ -266,7 +266,7 @@ class TWRenderer(mistune.Renderer): def block_code(self, code, lang=None): out = '{}'.format(code) out = textwrap.indent(out, self.tw_get('initial_indent'), - lambda line: True) + lambda line: len(line.strip()) > 0) return out def block_quote(self, text): |