فهرست منبع

add preview html code

lloydzhou 1 سال پیش
والد
کامیت
dfd089132d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/components/markdown.tsx

+ 1 - 1
app/components/markdown.tsx

@@ -77,7 +77,7 @@ export function HTMLPreview(props: { code: string }) {
         frameBorder={0}
         sandbox="allow-scripts"
         style={{ width: "100%", height: 400 }}
-        srcdoc={props.code}
+        srcDoc={props.code}
       ></iframe>
     </div>
   );