Skip to content
Snippets Groups Projects
Commit f8297e0b authored by Vivian Lim's avatar Vivian Lim
Browse files

Revert my changes to returned statusnet_html

parent 36fcac34
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -189,7 +189,7 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter do
combined_html =
if !!summary and summary != "" do
"<summary>#{summary}</summary><br /><content>#{content_html}</content>"
"<span>#{summary}</span><br />#{content_html}</span>"
else
content_html
end
......
......@@ -244,7 +244,7 @@ defmodule Pleroma.Web.TwitterAPI.ActivityView do
combined_html =
if !!summary and summary != "" do
"<summary>#{summary}</summary><br /><content>#{content_html}</content>"
"<span>#{summary}</span><br />#{content_html}</span>"
else
content_html
end
......
......@@ -133,7 +133,7 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do
}\">@shp</a>"
expected_html =
"<summary>#{expected_summary}</summary><br /><content>#{expected_content}</content>"
"<span>#{expected_summary}</span><br />#{expected_content}</span>"
expected_status = %{
"id" => activity.id,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment