react-markdown
Advanced tools
Comparing version 3.2.1 to 3.2.2
@@ -5,2 +5,8 @@ # Change Log | ||
## 3.2.2 - 2018-02-26 | ||
### Fixes | ||
* Fix language escaping in code blocks (Espen Hovlandsdal) | ||
## 3.2.1 - 2018-02-21 | ||
@@ -7,0 +13,0 @@ |
@@ -68,3 +68,3 @@ 'use strict'; | ||
case 'code': | ||
assignDefined(props, { language: node.lang && node.lang.split(' ', 1)[0] }); | ||
assignDefined(props, { language: node.lang && node.lang.split(/\s/, 1)[0] }); | ||
break; | ||
@@ -71,0 +71,0 @@ case 'inlineCode': |
{ | ||
"name": "react-markdown", | ||
"description": "Renders Markdown as React components", | ||
"version": "3.2.1", | ||
"version": "3.2.2", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "markdown", |
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
127866