mhkafadar / notifine

Notifine helps with events in your work tools like Gitlab, Github, and Trello. Just send a message to notifine or add it to your telegram group. It will provide you with a webhook link right away. Copy this link and paste it to your favorite tool.
https://notifine.com
31 stars 6 forks source link

Escape message text #55

Open IlyaSemenov opened 2 weeks ago

IlyaSemenov commented 2 weeks ago

Every time a commit has HTML special characters, such as:

Blabla

Co-authored-by: Ilya Semenov <ilya@semenov.co>

it won't deliver.

IlyaSemenov commented 4 days ago

I think you've escaped too much :)

Now the messages became literally like this:

<b>Ilya Semenov</b> pushed 1 commit to <a href="https://git.inetss.com/eg11/eg11/tree/master">ЕГ11:master</a>

Only the commit text should be escaped, not the entire Telegram message.

mhkafadar commented 9 hours ago

Hey, apologies for the inconvenience. For now, I’ll be rolling back to the original version. I’ll provide a fix for the commits that include HTML tags within the next 10 days, as I’m currently swamped.

In the meantime, if someone else opens a PR to address this issue, I’d be more than happy to merge it.

Thanks for your understanding!

@IlyaSemenov