this post was submitted on 25 Dec 2025
50 points (100.0% liked)
PieFed Meta
4444 readers
4 users here now
Discuss PieFed project direction, provide feedback, ask questions, suggest improvements, and engage in conversations related to the platform organization, policies, features, and community dynamics.
Wiki
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments


Yes,
markdown_to_html()inapp/utils.pysets thebreaksof markdown2 toon_newline.From the documentation (in the source file): on_newline: Replace single new line characters with <br> when True
(WOW! I missed escaping the <br> and it made a line break in the preview?)
Yep, I just made a PR. I am so used to the more normal way markdown works that I never actually ran into this issue before. I am not sure if this change might break something else in the codebase since
markdown_to_htmlis used in lots of places, so I will let @rimu@piefed.social review it instead of just merging it myself.Merged, thanks @wjs018@piefed.social and @stefan_s_from_h@piefed.zip
Yes, it gets used for emails, too. Server admins would need to change their email texts. That's bad. But at this time the number of instances with PieFed is still below 1,000.