Explorar el Código

fix: use get-tag to extract tag value

rcmerci hace 4 años
padre
commit
5582434a7a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/main/frontend/format/block.cljs

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

@@ -95,7 +95,7 @@
 
 
                (and (vector? block)
                (and (vector? block)
                     (= "Tag" (first block)))
                     (= "Tag" (first block)))
-               (let [text (second block)]
+               (let [text (get-tag block)]
                  (when (and
                  (when (and
                         (string? text)
                         (string? text)
                         (text/page-ref? text))
                         (text/page-ref? text))