Matrix html mode not working
See original GitHub issue📣 Notification Service(s) Impacted
Matrix.org
🐞 Describe the bug
Trying to send an html formatted message. Instead of applying the markup, the html code are escaped and displayed verbatim in a matrix client.
💡 Screenshots and Logs
$ docker run --rm --network matrix -v /apprise.yml:/apprise.yml caronc/apprise:latest apprise -vvv --config /apprise.yml --title 'creating an issue' --body "{{app_title}}\n<pre><code>about this on github</code></pre>"
2021-10-12 15:19:27,347 - DEBUG - Loaded URL: matrixs://matrixbot:matrixbotpw@homeserver.tld/%21someroomid?image=no&mode=off&format=html&overflow=upstream&rto=4.0&cto=4.0&verify=yes
2021-10-12 15:19:28,906 - DEBUG - Matrix Payload: {'msgtype': 'm.text', 'body': 'creating an issue\r\n{{app_title}}\\n<pre><code>about this on github</code></pre>', 'format': 'org.matrix.custom.html', 'formatted_body': 'creating an issue\\n<pre><code>about this on github</code></pre>'}
💻 Your System Details:
- OS: debian 11 / docker
- Python Version: whatever is in the docker container
🔮 Additional context However it is supposed to work is not documented https://github.com/caronc/apprise/wiki/Notify_matrix
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (7 by maintainers)
Top Results From Across the Web
matrix() - CSS: Cascading Style Sheets - MDN Web Docs
The matrix() CSS function defines a homogeneous 2D transformation matrix. Its result is a data type.
Read more >Can not show matrix in html - Stack Overflow
I can't see any HTML tag. Maybe it's a partial codebase because the definition of generateMatrix is also missing. You can try this...
Read more >Problem in spying on edge browser (BP 6.10.1) | Blue Prism ...
Hi all,I'm using BP version 6.10.1 which supports edge chromium but I'm not able to use it for spying. When try to attach...
Read more >Troubleshooting with glmmTMB
This warning ( Model convergence problem; non-positive-definite Hessian matrix ) states that at glmmTMB 's maximum-likelihood estimate, ...
Read more >UDO: Having problem to add records through Matrix?
Hi, I am trying to add records through a matrix from a user defined form into a UDO ... I am not being...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think I did test and forgot to reply back, but anyway tested again and it seems good!
I believe I’ve solved the issue with the last merge request. It’s part of the
master
branch now and will definitely be part of the next version of Apprise. The escaping should work with or without a title now (the way it should have been).If you need to install the
master
branch to try it out, this should work: