]> cat aescling's git repositories - mastodon.git/commit
Fix SVG files not being correctly included in templates (#16001)
authorClaire <claire.github-309c@sitedethib.com>
Mon, 5 Apr 2021 11:05:49 +0000 (13:05 +0200)
committerGitHub <noreply@github.com>
Mon, 5 Apr 2021 11:05:49 +0000 (13:05 +0200)
commit117f6638d0c402162c60915c7b8946489f1e89df
treeb2a257cbb615389d1af1412187cedd67324e5a29
parent3511797e3f01a062795b79e0db9402c3008744a4
Fix SVG files not being correctly included in templates (#16001)

In Rails 6.1, raw file inclusion in templates have to be explicitly marked as
HTML-safe, otherwise it's rendered as text.
app/views/layouts/application.html.haml
app/views/layouts/embedded.html.haml