remark-react
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -586,3 +586,3 @@ 'use strict'; | ||
function inlineCode(node) { | ||
return h(this, node, 'code', {}, util.collapse(this.encode(node.value))); | ||
return h(this, node, 'inlineCode', {}, util.collapse(this.encode(node.value))); | ||
} | ||
@@ -589,0 +589,0 @@ |
@@ -59,2 +59,8 @@ 'use strict'; | ||
// If we don't have a custom component defined for inlineCode, render a | ||
// standard `code` element instead | ||
if (name === 'inlineCode' && !components.inlineCode) { | ||
component = 'code'; | ||
} | ||
if (closing) { | ||
@@ -61,0 +67,0 @@ return context.createElement(component, attributes); |
{ | ||
"name": "remark-react", | ||
"description": "Compile Markdown to React with remark", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Titus Wormer", |
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
33917
1065