Jelajahi Sumber

fix: properties update

Tienson Qin 3 tahun lalu
induk
melakukan
1d9da5c847
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/main/frontend/util/property.cljs

+ 1 - 1
src/main/frontend/util/property.cljs

@@ -232,7 +232,7 @@
                                         (mldoc/properties? (second
                                                             (remove
                                                              (fn [[x _]]
-                                                               (= "Hiccup" (first x)))
+                                                               (contains? #{"Hiccup" "Raw_Html"} (first x)))
                                                              ast)))))
                                (mldoc/properties? (first ast)))
            lines (string/split-lines content)