fix: forum post panic

This commit is contained in:
trisua 2025-08-21 01:03:52 -04:00
parent 75fe720f21
commit 1e50ace8b2

View file

@ -578,7 +578,7 @@
("style" "flex: 1 0 auto") ("style" "flex: 1 0 auto")
(b ("class" "no_p_margin") (text "{{ post.title|markdown|safe }}")) (b ("class" "no_p_margin") (text "{{ post.title|markdown|safe }}"))
(span ("class" "no_p_margin") (text "{{ post.content|markdown|safe }}")) (span ("class" "no_p_margin") (text "{{ post.content|markdown|safe }}"))
(text "{{ self::post_media(upload_ids=post.uploads) }}") (text "{{ self::post_media(upload_ids=post.uploads, bucket=\"post_media\") }}")
(text "{% if poll -%} {{ self::poll(post=post, poll=poll) }} {%- endif %}")) (text "{% if poll -%} {{ self::poll(post=post, poll=poll) }} {%- endif %}"))
(hr ("class" "margin_top")) (hr ("class" "margin_top"))