projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refactor Earmark code, fix tests
[akkoma]
/
test
/
pleroma
/
web
/
common_api_test.exs
diff --git
a/test/pleroma/web/common_api_test.exs
b/test/pleroma/web/common_api_test.exs
index 585b2c174c9564c4aa2ccb408c7847f39374b671..c1b1af07321e25874c58c52ec6bc2ecb8476c7f7 100644
(file)
--- a/
test/pleroma/web/common_api_test.exs
+++ b/
test/pleroma/web/common_api_test.exs
@@
-558,7
+558,7
@@
defmodule Pleroma.Web.CommonAPITest do
object = Object.normalize(activity)
- assert object.data["content"] == "<p><b>2hu</b></p>
alert('xss')
"
+ assert object.data["content"] == "<p><b>2hu</b></p>"
assert object.data["source"] == post
end