signal-cli-rest-api icon indicating copy to clipboard operation
signal-cli-rest-api copied to clipboard

Escaping Formatting Characters '*' and '~'

Open Kuhkaefer opened this issue 1 year ago • 1 comments

Feature Request

It would be nice to be able to escape the formatting characters '*' and '~' in text_mode "styled".

Example: if you send a string that contains two '~', like:

'**price list**\nobject1: ~3€\nobject2: ~1€'

it will be formatted as:

price list object1: ~3€ object2:~ 1€

(I tried "~", "~~" and "~~~" to escape, but it didn't work)

Kuhkaefer avatar Jul 12 '24 08:07 Kuhkaefer

With the next release it is is possible to escape formatting characters by prefixing them with two backslashes.

If you want to give it a try, let me know. Then I can provide you a docker image for testing.

bbernhard avatar Dec 24 '24 22:12 bbernhard