Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-enable rendering HTML in notification list
In the 3.1 release, it was possible to render HTML in the template passed to `mgilet_notification_render()`. Since 3.2, this isn't possible any more and instead, all HTML is escaped. This change of behavior was introduced in #71. Unfortunately, the PR and commit message are very short on detail, making it hard to judge if this change was intentional or not. Either way, it breaks compatibility with existing code and shouldn't be introduced in a minor release. This patch changes the behavior back to the 3.1-like behavior. Specific code that broke by the 3.2 update: * https://github.com/librecores/librecores-web/blob/451c69cd1693ef8ceafb84cb3c7690be1cd9557d/site/app/Resources/views/base.html.twig#L68 * Template: https://github.com/librecores/librecores-web/blob/master/site/app/Resources/views/notification/notification_list.html.twig
- Loading branch information