fix: ignore comment tags

This commit is contained in:
Tienson Qin
2022-05-30 18:34:14 +08:00
parent d49eec78a4
commit df654076cf

View File

@@ -75,6 +75,9 @@
(if (string? pattern) pattern (apply str (reverse pattern))))))
wrapper (fn [tag content]
(cond
(= tag :comment)
nil
(and (= tag :p) (:in-table? opts))
content