Comparing version 0.21.0 to 0.21.1
@@ -6,2 +6,7 @@ --- | ||
0.21.1 / 2015-05-25 | ||
=================== | ||
* Fix positional information on lists ([024fca2](https://github.com/wooorm/mdast/commit/024fca2)) | ||
0.21.0 / 2015-05-24 | ||
@@ -8,0 +13,0 @@ =================== |
@@ -677,3 +677,3 @@ /** | ||
* @example | ||
* tokenizeList(eat, '> Foo'); | ||
* tokenizeBlockquote(eat, '> Foo'); | ||
* | ||
@@ -714,3 +714,4 @@ * @param {function(string)} eat | ||
var firstBullet = $2; | ||
var matches = trimRightLines($0).match(self.rules.item); | ||
var value = trimRightLines($0); | ||
var matches = value.match(self.rules.item); | ||
var length = matches.length; | ||
@@ -749,2 +750,3 @@ var index = 0; | ||
matches[index - 1] = trimRightLines(matches[index - 1]); | ||
length = matches.length; | ||
@@ -790,3 +792,5 @@ | ||
node = eat($0).reset(self.renderList([], firstBullet)); | ||
node = eat(matches.join(NEW_LINE)).reset( | ||
self.renderList([], firstBullet) | ||
); | ||
@@ -963,2 +967,4 @@ enterTop = self.exitTop(); | ||
$0 = trimRightLines($0); | ||
node = eat($0).reset({ | ||
@@ -965,0 +971,0 @@ 'type': TABLE, |
{ | ||
"name": "mdast", | ||
"version": "0.21.0", | ||
"version": "0.21.1", | ||
"description": "Markdown processor powered by plugins", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
261900
6128