Ivan Asmer 4 лет назад
Родитель
Сommit
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 = {