Comparing version 0.17.0 to 0.17.1
@@ -6,2 +6,7 @@ --- | ||
0.17.1 / 2015-04-08 | ||
=================== | ||
* Remove left-alignment for neutral columns in tables (Closes [GH-19](https://github.com/wooorm/mdast/issues/19), [d5d6657](https://github.com/wooorm/mdast/commit/d5d6657)) | ||
0.17.0 / 2015-04-07 | ||
@@ -8,0 +13,0 @@ =================== |
@@ -146,2 +146,3 @@ 'use strict'; | ||
var EXPRESSION_CENTER_ALIGNMENT = /^[ \t]*:-+:[ \t]*$/; | ||
var EXPRESSION_LEFT_ALIGNMENT = /^[ \t]*:-+[ \t]*$/; | ||
var EXPRESSION_TABLE_FENCE = /^[ \t]*|\|[ \t]*$/g; | ||
@@ -327,4 +328,6 @@ var EXPRESSION_TABLE_INITIAL = /^[ \t]*\|[ \t]*/g; | ||
results[index] = 'center'; | ||
} else if (EXPRESSION_LEFT_ALIGNMENT.test(alignment)) { | ||
results[index] = 'left'; | ||
} else { | ||
results[index] = 'left'; | ||
results[index] = null; | ||
} | ||
@@ -331,0 +334,0 @@ } |
@@ -876,10 +876,4 @@ 'use strict'; | ||
/* | ||
* There was a bug in markdown-table@0.3.0, fixed | ||
* in markdown-table@0.3.1, which modified the `align` | ||
* array, changing the AST. | ||
*/ | ||
return table(result, { | ||
'align': token.align.concat(), | ||
'align': token.align, | ||
'start': start, | ||
@@ -886,0 +880,0 @@ 'end': start.split(EMPTY).reverse().join(EMPTY), |
{ | ||
"name": "mdast", | ||
"version": "0.17.0", | ||
"version": "0.17.1", | ||
"description": "Markdown processor powered by plugins", | ||
@@ -26,3 +26,3 @@ "license": "MIT", | ||
"he": "^0.5.0", | ||
"markdown-table": "^0.3.0", | ||
"markdown-table": "^0.4.0", | ||
"minimatch": "^2.0.0", | ||
@@ -29,0 +29,0 @@ "repeat-string": "^1.5.0", |
206734
4445
+ Addedmarkdown-table@0.4.0(transitive)
- Removedmarkdown-table@0.3.2(transitive)
Updatedmarkdown-table@^0.4.0