Issue with HTML tags inside MFM block #2
Labels
bug
Something isn't working
on halt
Can't do this right now
priority: 2
Bothersome but I can handle it
Issues
<small>Small text</small>
works but$[blur <small>Small text</small>]
isn't,probably caused byseems to be caused bymfm-parser
Earmark
.__
) is parsed incorrectly.All of these issues could be fixed by using
md
instead ofEarmark
since they support custom block.Tasks
Currently FastSanitize screw up the end result ofFastSanitize (Ormd
when MFM is involvedlexbor
to be specific) follows HTML specs very strictly,<center>
won't work inside<span>
. May need to make a custom handler for MFM insidemd
, or make an in-house markdown (MFM) parser from scratch.In Misskey (or at least in Firefish)
<center>
is actually<div>
withtext-align: center
CSS.<center>
HTML tag inside fn block ($[... ]
) will be escaped, other HTML tags seem to be fine? the "rule" is very loose and inconsistent in MFM.The text was updated successfully, but these errors were encountered: