Skip to content

Commit

Permalink
Version bump 0.2.0.
Browse files Browse the repository at this point in the history
Property line_start -> line_started.
  • Loading branch information
lepture committed Mar 12, 2014
1 parent f1b5d17 commit 46bb1a0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
10 changes: 10 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ Changelog

Here is the full history of mistune.

Version 0.2.0
~~~~~~~~~~~~~

Released on Mar. 12, 2014

* Use tuple instead of list for efficient
* Add ``line_match`` and ``line_started`` property on InlineLexer, via `#4`_

.. _`#4`: https://github.com/lepture/mistune/pull/4

Version 0.1.0
~~~~~~~~~~~~~

Expand Down
8 changes: 4 additions & 4 deletions mistune.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
mistune
~~~~~~~
Yet another markdown parser, inspired by marked in JavaScript.
The fastest markdown parser in pure Python, inspired by marked.
:copyright: (c) 2014 by Hsiaoming Yang.
"""

import re

__version__ = '0.1.0'
__version__ = '0.2.0'
__author__ = 'Hsiaoming Yang <me@lepture.com>'
__all__ = [
'BlockGrammar', 'BlockLexer',
Expand Down Expand Up @@ -513,10 +513,10 @@ def manipulate(src):
return m, out
return False

self.line_start = True
self.line_started = False
while src:
ret = manipulate(src)
self.line_start = False
self.line_started = True
if ret is not False:
m, out = ret
output += out
Expand Down

0 comments on commit 46bb1a0

Please sign in to comment.