浏览代码

fix: resize image

rcmerci 4 年之前
父节点
当前提交
9f06439309
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/frontend/components/block.cljs

+ 1 - 1
src/main/frontend/components/block.cljs

@@ -821,7 +821,7 @@
           (if (and (= format :org)
                    (show-link? config nil page page)
                    (not (contains? #{"pdf" "mp4" "ogg" "webm"} (util/get-file-ext page))))
-            (image-link config url page nil nil page)
+            (image-link config url page nil metadata full_text)
             (let [label* (if (seq (mldoc/plain->text label)) label nil)]
               (if (and (string? page) (string/blank? page))
                 [:span (util/format "[[%s]]" page)]