remark-loader
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="0.3.2"></a> | ||
## [0.3.2](https://github.com/skipjack/remark-loader/compare/v0.3.1...v0.3.2) (2018-02-06) | ||
### Bug Fixes | ||
* **react:** make `<br>` tags self-closing ([8c1f754](https://github.com/skipjack/remark-loader/commit/8c1f754)) | ||
<a name="0.3.1"></a> | ||
@@ -7,0 +17,0 @@ ## [0.3.1](https://github.com/skipjack/remark-loader/compare/v0.3.0...v0.3.1) (2018-01-24) |
{ | ||
"name": "remark-loader", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "Load markdown through remark with some react-specific features.", | ||
@@ -5,0 +5,0 @@ "homepage": "", |
@@ -22,2 +22,3 @@ /** | ||
jsx = jsx.replace(/\\n/g, '\n') // Unescape newlines | ||
jsx = jsx.replace(/<br>/g, '<br />') | ||
jsx = jsx.replace(/<code.+?>([\s\S]+?)<\/code>/g, (match, content, offset, string) => { | ||
@@ -24,0 +25,0 @@ return ( |
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
13261
119