allow small/center tags in misskeymarkdown #132

Merged
floatingghost merged 2 commits from small-center-mfm into develop 2022-08-01 12:46:52 +00:00
Showing only changes of commit ee6e730c1e - Show all commits

View file

@ -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