markdown-it
Advanced tools
Comparing version 8.4.0 to 8.4.1
@@ -0,1 +1,7 @@ | ||
8.4.1 / 2018-02-15 | ||
------------------ | ||
- Fix smartquotes around softbreaks, #430. | ||
8.4.0 / 2017-08-24 | ||
@@ -2,0 +8,0 @@ ------------------ |
@@ -148,3 +148,3 @@ /** | ||
* | ||
* Each rule is called as independed static function with fixed signature: | ||
* Each rule is called as independent static function with fixed signature: | ||
* | ||
@@ -151,0 +151,0 @@ * ```javascript |
@@ -62,3 +62,4 @@ // Convert straight quotation marks to typographic ones | ||
for (j = i - 1; j >= 0; j--) { | ||
if (tokens[j].type !== 'text') { continue; } | ||
if (tokens[j].type === 'softbreak' || tokens[j].type === 'hardbreak') break; // lastChar defaults to 0x20 | ||
if (tokens[j].type !== 'text') continue; | ||
@@ -79,3 +80,4 @@ lastChar = tokens[j].content.charCodeAt(tokens[j].content.length - 1); | ||
for (j = i + 1; j < tokens.length; j++) { | ||
if (tokens[j].type !== 'text') { continue; } | ||
if (tokens[j].type === 'softbreak' || tokens[j].type === 'hardbreak') break; // nextChar defaults to 0x20 | ||
if (tokens[j].type !== 'text') continue; | ||
@@ -82,0 +84,0 @@ nextChar = tokens[j].content.charCodeAt(0); |
{ | ||
"name": "markdown-it", | ||
"version": "8.4.0", | ||
"version": "8.4.1", | ||
"description": "Markdown-it - modern pluggable markdown parser.", | ||
@@ -33,3 +33,3 @@ "keywords": [ | ||
"mdurl": "^1.0.1", | ||
"uc.micro": "^1.0.3" | ||
"uc.micro": "^1.0.5" | ||
}, | ||
@@ -36,0 +36,0 @@ "devDependencies": { |
@@ -121,3 +121,3 @@ # markdown-it | ||
// Highlighter function. Should return escaped HTML, | ||
// or '' if the source string is not changed and should be escaped externaly. | ||
// or '' if the source string is not changed and should be escaped externally. | ||
// If result starts with <pre... internal wrapper is skipped. | ||
@@ -124,0 +124,0 @@ highlight: function (/*str, lang*/) { return ''; } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
545719
11834
Updateduc.micro@^1.0.5