Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert Wechat message BBCode to HTML #16

Open
huan opened this issue Jul 14, 2019 · 2 comments
Open

Convert Wechat message BBCode to HTML #16

huan opened this issue Jul 14, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@huan
Copy link
Member

huan commented Jul 14, 2019

The message content from Wechat that includes emojis will like this:

<img class="emoji emoji1f44f" text="_web" src="/zh_CN/htmledition/v2/images/spacer.gif" /><img class="emoji emoji1f44f" text="_web" src="/zh_CN/htmledition/v2/images/spacer.gif" />

We need to find a clean way to convert them to HTML so that we can use intent.sendMessage() to send them and show them correctly on the Matrix clients.

@huan huan added the enhancement New feature or request label Jul 14, 2019
@yswtrue
Copy link
Contributor

yswtrue commented Jan 30, 2021

How about using this dependence https://github.com/JiLiZART/bbob

@huan
Copy link
Member Author

huan commented Feb 3, 2021

It would be great if there's any existing library that can do this conversion for us!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants