|
@@ -636,7 +636,7 @@ const A = ({react:React, children, title}) =>{
|
|
|
|
|
|
const Img = ({react:React, children, title, node}) =>{
|
|
|
const _ = React.createElement.bind(React)
|
|
|
- return _("img", {alt: title, src: children, className: node.startMatch[1]})
|
|
|
+ return _("img", {alt: title, src: children, className: node.startMatch[1] || undefined})
|
|
|
}
|
|
|
|
|
|
const defaultMapMDToComponents = {
|