Interpret `\n` as newline for MFM
authorilja <git@ilja.space>
Sat, 18 Feb 2023 18:30:27 +0000 (19:30 +0100)
committerilja <git@ilja.space>
Sat, 18 Feb 2023 18:56:11 +0000 (19:56 +0100)
commitb4952a81fe2eeec9c033bf8c69148e53e1f40be2
treef676b88bb7c83c02998f11db49f95d95b0e26396
parentef279ac53fecd684281b9e5df13a3e082c589aac
Interpret `\n` as newline for MFM

Markdown doesn't generally consider `\n` a newline,
but Misskey does for MFM.

Now we do to for MFM (and not for Markdown) :)
lib/pleroma/formatter.ex
lib/pleroma/web/activity_pub/object_validators/article_note_page_validator.ex
lib/pleroma/web/common_api/utils.ex
test/fixtures/misskey/mfm_x_format.json
test/pleroma/web/activity_pub/object_validators/article_note_page_validator_test.exs