allow small/center tags in misskeymarkdown #132
1 changed files with 2 additions and 0 deletions
|
@ -133,6 +133,7 @@ test "a misskey MFM status with a _misskey_content field should work and be link
|
|||
"<span class=\"h-card\"><a class=\"u-url mention\" data-user=\"#{local_user.id}\" href=\"#{local_user.ap_id}\" rel=\"ugc\">@<span>akkoma_user</span></a></span> linkifylink <a class=\"hashtag\" data-tag=\"dancedance\" href=\"http://localhost:4001/tag/dancedance\">#dancedance</a> $[jelly mfm goes here] <br><br>## aaa"
|
||||
|
||||
changes = ArticleNotePageValidator.cast_and_validate(note)
|
||||
|
||||
%{
|
||||
valid?: true,
|
||||
changes: %{
|
||||
|
@ -142,6 +143,7 @@ test "a misskey MFM status with a _misskey_content field should work and be link
|
|||
}
|
||||
}
|
||||
} = changes
|
||||
|
||||
assert changes.changes[:content] == expected_content
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue