Skip to content

Commit

Permalink
Update Gmeek.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Meekdai committed May 31, 2024
1 parent 7c3232f commit 4b25932
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gmeek.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ def createPostHtml(self,issue):
)

if '<code class="notranslate">Gmeek-html' in post_body:
print("==========")
print(post_body)
print("==========")
post_body = html.unescape(re.sub(r'<code class="notranslate">Gmeek-html(.*?)</code>',r'\1',post_body,flags=re.DOTALL))

postBase["postTitle"]=issue["postTitle"]
Expand Down

0 comments on commit 4b25932

Please sign in to comment.