question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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&lt;pre&gt;&lt;code&gt;about&nbsp;this&nbsp;on&nbsp;github&lt;/code&gt;&lt;/pre&gt;', 'format': 'org.matrix.custom.html', 'formatted_body': 'creating an issue\\n&lt;pre&gt;&lt;code&gt;about&nbsp;this&nbsp;on&nbsp;github&lt;/code&gt;&lt;/pre&gt;'}

💻 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:closed
  • Created 2 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
HarHarLinkscommented, Nov 4, 2021

I think I did test and forgot to reply back, but anyway tested again and it seems good!

1reaction
caronccommented, Oct 30, 2021

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:

# Install the branch
pip install git+https://github.com/caronc/apprise.git
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found