~vpzom/lotide

Normalizing content format

Details
Message ID
<20211107085730.b7e2q4ffiqixgzdy@opensuse>
DKIM signature
missing
Download raw message
Hi,

I'm messing with lotide's API to write a client[0], and find out that
posts with content_text do not generate content in HTML format, which
caused plain text posts to be not rendered on my client.

I think it'd be nice if content_text also generates content_html
(by e.g. replace one new line with <br> and ≥two new lines with </p><p>)

Is this considered or planned for development?  Or it's a deliberate
decision to not generate HTML from plain text?  Should I create a ticket
for this?

[0]: https://sr.ht/~huyngo/luna/
Reply to thread Export thread (mbox)