remark-lint
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -5,2 +5,7 @@ <!--remark setext--> | ||
2.0.2 / 2015-12-27 | ||
================== | ||
* Fix hard-break-spaces in indented blocks ([a427c59](https://github.com/wooorm/remark-lint/commit/a427c59)) | ||
2.0.1 / 2015-12-26 | ||
@@ -7,0 +12,0 @@ ================== |
@@ -46,2 +46,3 @@ /** | ||
var end = position.end(node).offset; | ||
var value; | ||
@@ -52,3 +53,5 @@ if (position.generated(node)) { | ||
if (contents.slice(start, end).length > 3) { | ||
value = contents.slice(start, end).split('\n', 1)[0]; | ||
if (value.length > 2) { | ||
file.warn('Use two spaces for hard line breaks', node); | ||
@@ -55,0 +58,0 @@ } |
{ | ||
"name": "remark-lint", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Lint markdown with remark", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
137407
4654