shithub: hell

Download patch

ref: 3e5ca2b991a56814f82244e5b8dc0faad312ecae
parent: fe20c0803c7a2e7739becdaeb20c954691e47733
author: penny <penny@limitedideas.org>
date: Mon Oct 20 13:42:42 EDT 2025

and lists!

--- a/renderer.go
+++ b/renderer.go
@@ -30,7 +30,7 @@
 // Returns the rendered content of a status
 func (st *StatusFormatter) statusContent(status *mastodon.Status) string {
 	renderedPost, plaintexts := st.postContext.renderStatus(status.Content, st.postContext.prefix+st.postContext.ref)
-	renderedPost = html2text.HTML2TextWithOptions(renderedPost, html2text.WithUnixLineBreaks())
+	renderedPost = html2text.HTML2TextWithOptions(renderedPost, html2text.WithUnixLineBreaks(), html2text.WithListSupport())
 	for key, plaintext := range plaintexts {
 		renderedPost = strings.Replace(renderedPost, key, plaintext, 1)
 	}
--