Skip to content

Commit

Permalink
Update SynchModelMapper.java
Browse files Browse the repository at this point in the history
  • Loading branch information
A-So-Nya committed Jun 14, 2021
1 parent 6953191 commit a9961b5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ public static Post createPost(JSONObject jsonObject, SynchChanLocator locator, S
if (com != null) {
// Vichan JSON API bug, sometimes comment is broken
com = com.replace("<a ", "<a ").replaceAll("href=\"\\?", "href=\"");
com = com.replace("class=\"public_ban\"", "style=\"color: red\"");
post.setComment(com);
}
ArrayList<Attachment> attachments = null;
Expand Down

0 comments on commit a9961b5

Please sign in to comment.