Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
Only remove quote-inline with RE:
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacocococo committed Nov 12, 2023
1 parent 7d2de34 commit cbacfc8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ public static ArrayList<StatusDisplayItem> buildItems(BaseStatusListFragment<?>
}

if(statusForContent.quote!=null) {
int quoteInlineIndex=statusForContent.content.indexOf("<span class=\"quote-inline\">");
int quoteInlineIndex=statusForContent.content.lastIndexOf("<span class=\"quote-inline\"><br/><br/>RE:");
if (quoteInlineIndex!=-1)
statusForContent.content=statusForContent.content.substring(0, quoteInlineIndex);
}
Expand Down

0 comments on commit cbacfc8

Please sign in to comment.