rveachkc / pymsteams

Format messages and post to Microsoft Teams.
https://pypi.org/project/pymsteams/
Apache License 2.0
424 stars 78 forks source link

"==" not sent properly #142

Open michalmalus opened 1 year ago

michalmalus commented 1 year ago

Describe the bug Sometimes "==" is not sent via the hook.

To Reproduce

my_teams_message = pymsteams.connectorcard(...)
my_teams_message.text("0==0 1==1")
my_teams_message.send()

Expected behavior A message containing "0==0 1==1"

Screenshots

issue

Additional context pymsteams 0.2.2

carrliitos commented 1 year ago

You have to escape the = sign.

my_teams_message = pymsteams.connectorcard(...)
my_teams_message.text("0\=\=0 1\=\=1")
my_teams_message.send()

image