Interpret `\n` as newline for MFM
[akkoma] / test / pleroma / web / activity_pub / object_validators / article_note_page_validator_test.exs
index 62ac5e0510ff3f32afbe1bed6997ab4ed13e9811..523a17c17e66380c130841543367d36e4a1f0c04 100644 (file)
@@ -136,6 +136,8 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidators.ArticleNotePageValidatorTest
 
       assert content =~
                "<span class=\"mfm _mfm_jelly_\" style=\"display: inline-block; animation: 1s linear 0s infinite normal both running mfm-rubberBand;\">mfm goes here</span> </p>aaa"
+
+      assert content =~ "some text<br/>newline"
     end
 
     test "a misskey MFM status with a _misskey_content field should work and be linked", _ do