* feat: custom query title may also render rich texts * fix: custom query title should also accept plain hiccups
@@ -2566,7 +2566,11 @@
(when-not (and built-in? (empty? result))
(ui/foldable
[:div.custom-query-title
- [:span.title-text title]
+ [:span.title-text (if (vector? title)
+ title
+ (inline-text config
+ (get-in config [:block :block/format] :markdown)
+ (str title)))]
[:span.opacity-60.text-sm.ml-2.results-count
(str (count transformed-query-result) " results")]]
(fn []