diff --git a/app/src/main/java/org/qinshuihepan/bbs/ui/PostContentActivity.java b/app/src/main/java/org/qinshuihepan/bbs/ui/PostContentActivity.java index 345a34d..145d0ad 100644 --- a/app/src/main/java/org/qinshuihepan/bbs/ui/PostContentActivity.java +++ b/app/src/main/java/org/qinshuihepan/bbs/ui/PostContentActivity.java @@ -467,7 +467,8 @@ protected Integer doInBackground(String... params) { if (posts.get(Integer.valueOf(params[2]) - 1).content.startsWith("%%%%%")) { content = posts.get(Integer.valueOf(params[2]) - 1).content.substring("%%%%%".length()); } else { - content = posts.get(Integer.valueOf(params[2]) - 1).content; + String[] temp = posts.get(Integer.valueOf(params[2]) - 1).content.split("%%%%%"); + content = temp[1]; } noticetrimstr = "[quote][size=2][url=forum.php?mod=redirect&goto=findpost&pid=" + posts.get(Integer.valueOf(params[2]) - 1).pid