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

Newline escaping sequence \n on message_content doesn't work #250

Open
meliurwen opened this issue Jul 2, 2020 · 2 comments
Open

Newline escaping sequence \n on message_content doesn't work #250

meliurwen opened this issue Jul 2, 2020 · 2 comments

Comments

@meliurwen
Copy link

Steps to reproduce

On ZNC side:

  • set message_content <b>[{network}]</b>\n<i>{context}</i>\n&lt;<b>{nick}</b>&gt;\n<code>{message}</code>
  • send test

Expected behavior

On Telegram side:

[networkName]
*push
<*push>
test

Actual behavior

On Telegram side:
[networkName]\n_*push_\n<*push>\ntest

Other details

Tested only on Telegram

@theoneandonlyewok
Copy link

theoneandonlyewok commented Dec 25, 2020

\n isn't support by telegrams HTML Style. Neither is <br>

@meliurwen
Copy link
Author

I know, the bot, not Telegram is expected to be able to handle some sort of newline escaping sequence.

The alternative would be to use a custom GET to have the expected result, but honestly it's not very optimal since Telegram is already supported.

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

No branches or pull requests

2 participants