Remove todo

This commit is contained in:
erik 2024-05-17 18:52:26 +02:00
parent aa5afcd90f
commit a21ff9592d

View file

@ -105,8 +105,6 @@
(postwalk #(insert-into-class % class-name image-element) html)) (postwalk #(insert-into-class % class-name image-element) html))
html)) html))
;; ToDo: Funktionalität aufsplitten. Ich würde zuerst das html um die link prev erweitern und dann suchen/ersetzen
;; Eventuell das Gleiche auch für masto->media->html
(defn insert-link-prev [html] (defn insert-link-prev [html]
(let [class-name "mastodon-post-link-preview"] (let [class-name "mastodon-post-link-preview"]
(postwalk #(assoc-to-content % class-name link_preview) html))) (postwalk #(assoc-to-content % class-name link_preview) html)))