Skip to content

Commit

Permalink
Merge pull request #188 from terwer/v4.x
Browse files Browse the repository at this point in the history
fix:Fix html format
  • Loading branch information
terwer authored Aug 23, 2022
2 parents 2f64bad + e929629 commit a15c4af
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ private static String parseHtml(String html) {
html = html.replaceAll("\\n", "");
html = html.replaceAll(""", "");
html = html.replaceAll(" ", "");

html = html.replaceAll("<iframe.*src=\"/widgets/publisher.*</iframe>", "");
html = html.replaceAll("<iframe.*src=\"/widgets/sy-post-publisher.*</iframe>", "");
html = html.replaceAll("<iframe.*/widgets/Note*\\sAttrs.*/iframe>", "");
html = html.replaceAll("<h1.*/h1>", "");

return (html);
}

Expand Down

1 comment on commit a15c4af

@vercel
Copy link

@vercel vercel bot commented on a15c4af Aug 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.