kamikazechaser / ThorsHammer

[UNMAINTAINED] 🔨 Simple Global Hammer Bot For Telegram
https://t.me/ThorsHammerBot
GNU Affero General Public License v3.0
17 stars 19 forks source link

Change text formatting to HTML #8

Open rizaumami opened 7 years ago

rizaumami commented 7 years ago

Markdown text formatting is simpler than HTML, but it's hard to escaped.
The use of Markdown in ThorsHammer is prone to error, i.e when in need to print user name that contain unpaired Markdown tags, e.g si_kabayan or ._..

The HTML itself is not actually bullet proof to this kind of weird names (there is exist names thats contains unclosed < or > tags), but IMHO, it's easier to escape.

So, I propose to change the text formatting from Markdown to HTML, or provide a function/libs to reliably escape the tags.

randomhydrosol commented 7 years ago

@rizaumami Ok please email the creator he'll help

kamikazechaser commented 7 years ago

@rizaumami I am aware of the issue, I am looking orward to this.