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

Markdown escaping issue #58

Open
rc5hack opened this issue Oct 22, 2023 · 3 comments
Open

Markdown escaping issue #58

rc5hack opened this issue Oct 22, 2023 · 3 comments

Comments

@rc5hack
Copy link

rc5hack commented Oct 22, 2023

This job step always fails:

    - name: Send telegram notification
      if: ${{always()}}
      uses: appleboy/telegram-action@master
      with:
        to: ${{secrets.TELEGRAM_CHAT}}
        token: ${{secrets.TELEGRAM_TOKEN}}
        format: markdown
        message: |
          Test *()

Job logs:

Run appleboy/telegram-action@master
  with:
    to: ***
    token: ***
    format: markdown
    message: Test *()
  
  env:
    ...
/usr/bin/docker run --name dc5057a2652147a674d62abf3a4930e7521c7_f86794 --label 0dc505 --workdir /github/workspace --rm -e ...
2023/10/22 18:39:40 Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 5

Should I manually escape chars in message?

@chmelevskij
Copy link

Seems to be failing with simple ul as well for me.

Had something like this

feat/do something

* foo bar
* baz
* bar bar

And getting similar error like above

@rc5hack
Copy link
Author

rc5hack commented Oct 16, 2024

Bump.

Issue reproduces with both appleboy/[email protected] and appleboy/[email protected]

@rc5hack
Copy link
Author

rc5hack commented Oct 16, 2024

maybe also related to #66

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