From: Anton Khorev Date: Tue, 4 Feb 2025 15:29:47 +0000 (+0300) Subject: Don't html-escape note description X-Git-Tag: live~190^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/abcd22854ce39ea61b06924e3420c6ddc81193a0?ds=inline;hp=--cc Don't html-escape note description The description is already html-safe after to_html. --- abcd22854ce39ea61b06924e3420c6ddc81193a0 diff --git a/app/views/notes/show.html.erb b/app/views/notes/show.html.erb index 3d9b4a9ba..4f20cdd44 100644 --- a/app/views/notes/show.html.erb +++ b/app/views/notes/show.html.erb @@ -5,7 +5,7 @@

<%= t(".description") %>

- <%= h(note_description(@note.author, @note.description).to_html) %> + <%= note_description(@note.author, @note.description).to_html %>