[bug] Posts with MFM has no single newlines #383

Closed
opened 2022-12-20 13:47:14 +00:00 by a1batross · 1 comment

Your setup

From source

Extra details

Ubuntu 22.04.1

Version

latest stable

PostgreSQL version

15.1

What were you trying to do?

Looks like Akkoma's MFM parser "thinks" that single newline must be ignored, like in Markdown.

But testing that in Misskey's MFM cheatsheet, it does seem respect all newlines: https://misskey.io/mfm-cheat-sheet

What did you expect to happen?

test test
test

formatting in MFM must retain the \n

What actually happened?

test test test

Newline was ignored

Logs

No response

Severity

I can manage

Have you searched for this issue?

  • I have double-checked and have not found this issue mentioned anywhere.
### Your setup From source ### Extra details Ubuntu 22.04.1 ### Version latest stable ### PostgreSQL version 15.1 ### What were you trying to do? Looks like Akkoma's MFM parser "thinks" that single newline must be ignored, like in Markdown. But testing that in Misskey's MFM cheatsheet, it does seem respect all newlines: https://misskey.io/mfm-cheat-sheet ### What did you expect to happen? ``` test test test ``` formatting in MFM must retain the \n ### What actually happened? ```test test test``` Newline was ignored ### Logs _No response_ ### Severity I can manage ### Have you searched for this issue? - [x] I have double-checked and have not found this issue mentioned anywhere.
a1batross added the
bug
label 2022-12-20 13:47:14 +00:00
a1batross changed title from [bug] Posts from misskey has no newlines to [bug] Posts from misskey has no single newlines 2022-12-20 13:47:36 +00:00
a1batross changed title from [bug] Posts from misskey has no single newlines to [bug] Posts with MFM has no single newlines 2022-12-20 13:47:46 +00:00
dupe of #381, https://akkoma.dev/AkkomaGang/pleroma-fe/issues/155
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: AkkomaGang/akkoma#383
No description provided.