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 = {