mirror of https://gitlab.com/bashrc2/epicyon
Allow markdown-style headers in ordinary posts
parent
561cea54fe
commit
fb297ebdee
|
|
@ -3142,8 +3142,7 @@ def individual_post_as_html(signing_priv_key_pem: str,
|
||||||
object_content = \
|
object_content = \
|
||||||
format_mixed_right_to_left(object_content, system_language)
|
format_mixed_right_to_left(object_content, system_language)
|
||||||
# replace any markdown headers with html
|
# replace any markdown headers with html
|
||||||
if post_is_blog:
|
object_content = html_blog_post_markdown(object_content)
|
||||||
object_content = html_blog_post_markdown(object_content)
|
|
||||||
# show quote toot link
|
# show quote toot link
|
||||||
quote_url = get_quote_toot_url(post_json_object)
|
quote_url = get_quote_toot_url(post_json_object)
|
||||||
if quote_url:
|
if quote_url:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue