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

fix: replace html entities with emojis to prevent rendering issues #941

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pieceofsoul
Copy link

Summary

Emojis written as HTML entities are not working as expected. Especially on mobilde devices (android) the entity is not rendered. Desktop seems to work. The assumption is that there is no full support of html entities for adaptive cards: https://learn.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/cards/cards-format?tabs=adaptive-md%2Cdesktop%2Cdesktop1%2Cdesktop2%2Cconnector-html

However, replacing them with emojis itself, works on desktop and mobile devices.

Checklist

  • Tested and/or added tests to validate that the changes work as intended, if applicable.
  • Updated documentation in README.md, if applicable.

Verified by running gatus locally with a local config. Desktop and mobile view are both showing the emojis in an appropriate way.

@pieceofsoul pieceofsoul changed the title replace html entities with emojis to prevent rendering issues fix: replace html entities with emojis to prevent rendering issues Dec 20, 2024
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

Successfully merging this pull request may close these issues.

1 participant