[bug] <small> isnt rendered correctly #591
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#591
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Your setup
From source
Extra details
(i dont know, actually. i might be wrong.)
Version
3.9.3-2-gfb8081e1-develop / 91945714+snowdin
PostgreSQL version
No clue
What were you trying to do?
Notes from Misskey(/foundkey/calckey/etc) using the
<small>
mfm/html tag aren't rendered correctly.What did you expect to happen?
Text wrapped in a
<small>
tag should be ... slightly smaller.What actually happened?
Instead, it's completely ignored, and rendered in plain text.
It renders "fine" (i.e ignored, but atleast not showing up as plain text) on pleroma, so I'd call this a bug.
Logs
Severity
I cannot use it as easily as I'd like
Have you searched for this issue?
Digging into this a little bit more, it might be the fault of the MFM parser (https://akkoma.dev/AkkomaGang/mfm-parser ?) or maybe we should be displaying MFM as HTML anyway. I'll see what mfm.js does
After some digging I found out that it actually caused by Earmark, it automatically escaped HTML tags if input is not started with an HTML tag.
Markdown inside HTML tag is also broken (REF: https://github.com/RobertDober/earmark_parser/issues/119)