From ffb794a7255b8cbb89d2a4f5490feb59911b8014 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 27 Jan 2025 22:01:42 +0100 Subject: Replace underscores with the proper HTML tags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This was already handled correctly in the case of TeX and CSV, but the HTML rendering was still to be handled. Signed-off-by: Miquel Sabaté Solà --- app/views/things/_thing.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/things/_thing.html.erb') diff --git a/app/views/things/_thing.html.erb b/app/views/things/_thing.html.erb index 5a31ccc..7c5ea93 100644 --- a/app/views/things/_thing.html.erb +++ b/app/views/things/_thing.html.erb @@ -2,6 +2,6 @@
">
-
<%= link_to thing.title, edit_thing_path(thing) %>
+
<%= link_to title_to_html(title: thing.title), edit_thing_path(thing) %>
<%= thing.rate %>
-- cgit v1.2.3