Refactor Earmark code, fix tests
[akkoma] / test / pleroma / web / common_api_test.exs
index 585b2c174c9564c4aa2ccb408c7847f39374b671..c1b1af07321e25874c58c52ec6bc2ecb8476c7f7 100644 (file)
@@ -558,7 +558,7 @@ defmodule Pleroma.Web.CommonAPITest do
 
       object = Object.normalize(activity)
 
-      assert object.data["content"] == "<p><b>2hu</b></p>alert(&#39;xss&#39;)"
+      assert object.data["content"] == "<p><b>2hu</b></p>"
       assert object.data["source"] == post
     end