ferdium / ferdium-app

All your services in one place, built by the community
https://ferdium.org
Apache License 2.0
2.65k stars 164 forks source link

MS Teams markdown - codeblock not working or working well #1771

Closed nerdCopter closed 2 weeks ago

nerdCopter commented 1 month ago

Preflight Checklist

Ferdium Version

6.7.4-nightyl

Recipe Name

MS Teams

Recipe Version

3.3.2

Last Known working version of the recipe

unknown, but was.

Steps to reproduce

any channel: use 3 backticks

Expected Behavior

it should render a codeblock to be filled in (highlighted in read): image

Actual Behavior

it does not render (highlighted in red) image

Screenshots

No response

Additional Information

Also renders completely different from Firefox. Firefox renders as expected. Ferdium not so much. MAYBE has to do with MS-Team classic versus new modes. image

nerdCopter commented 1 month ago

maybe useful:

supported markdown: https://support.microsoft.com/en-us/office/use-markdown-formatting-in-microsoft-teams-4d10bd65-55e2-4b2d-a1f3-2bebdcd2c772

cross-platform support: https://learn.microsoft.com/en-us/microsoftteams/platform/resources/bot-v3/bots-text-formats#formatting-text-content

nerdCopter commented 1 month ago

This is Google-Chrome, same ugly render, and same failure to render blockcode when commenting: image

Problem-source is Chrome/Chromium/NWjs or whatever wrapper Ferdium uses. :(

vraravam commented 2 weeks ago

Thanks for the update @nerdCopter - as per your investigation, this is a bug in the upstream, and cannot be fixed by the Ferdium team. Closing the ticket.