Don't strip newlines in pre #709
No reviewers
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#709
Loading…
Reference in a new issue
No description provided.
Delete branch "snan/akkoma:pre"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In the atom feed, that is
acf6390ad9
tob6b773f6ec
i was wondering why newlines are stripped at all, considering they have no effect in HTML outside of
<pre>
and XML should be able to handle them as well.Apparently this was added 7 years ago to work around a bug in Mastodon; presumably for the OStatus use of this function and not the XML feed (which got split out later)
Given any OStatus bugs of Mastodon aren’t relevant anymore, can we just stop stripping newlines at all here?
53cef182f3
to8dd74f0d41
(If people prefer b6b773f6ec lmk, I can get it back 💁🏻♀️)
8dd74f0d41
to6116f81546