markdown-it
Advanced tools
Comparing version 4.0.2 to 4.0.3
@@ -0,1 +1,9 @@ | ||
4.0.3 / 2015-03-25 | ||
------------------ | ||
- Updated linkifier. | ||
- Smartquotes rule cleanup (#76). | ||
- Fixed replacements rule bug in PhantomJS (#77). | ||
4.0.2 / 2015-03-22 | ||
@@ -2,0 +10,0 @@ ------------------ |
@@ -22,2 +22,6 @@ // Simple typographyc replacements | ||
// Workaround for phantomjs - need regex without /g flag, | ||
// or root check will fail every second time | ||
var SCOPED_ABBR_TEST_RE = /\((c|tm|r|p)\)/i; | ||
var SCOPED_ABBR_RE = /\((c|tm|r|p)\)/ig; | ||
@@ -79,3 +83,3 @@ var SCOPED_ABBR = { | ||
if (SCOPED_ABBR_RE.test(state.tokens[blkIdx].content)) { | ||
if (SCOPED_ABBR_TEST_RE.test(state.tokens[blkIdx].content)) { | ||
replace_scoped(state.tokens[blkIdx].children); | ||
@@ -82,0 +86,0 @@ } |
@@ -29,4 +29,2 @@ // Convert straight quotation marks to typographic ones | ||
if (token.type !== 'text' || QUOTE_TEST_RE.test(token.text)) { continue; } | ||
thisLevel = tokens[i].level; | ||
@@ -39,2 +37,4 @@ | ||
if (token.type !== 'text') { continue; } | ||
text = token.content; | ||
@@ -41,0 +41,0 @@ pos = 0; |
{ | ||
"name": "markdown-it", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"description": "Markdown-it - modern pluggable markdown parser.", | ||
@@ -23,3 +23,3 @@ "keywords": [ | ||
"entities": "~1.1.1", | ||
"linkify-it": "~0.1.5", | ||
"linkify-it": "~1.0.0", | ||
"mdurl": "~1.0.0", | ||
@@ -26,0 +26,0 @@ "uc.micro": "^1.0.0" |
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
489663
10814
+ Addedlinkify-it@1.0.1(transitive)
- Removedlinkify-it@0.1.5(transitive)
Updatedlinkify-it@~1.0.0