Ivan Asmer 4 年之前
父节点
当前提交
7f9d236732
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      index.mjs

+ 1 - 1
index.mjs

@@ -636,7 +636,7 @@ const A = ({react:React, children, title}) =>{
 
 const Img = ({react:React, children, title}) =>{
     const _ = React.createElement.bind(React)
-    return _("a", {alt: title, src: children})
+    return _("img", {alt: title, src: children})
 }
 
 const defaultMapMDToComponents = {