aboutsummaryrefslogtreecommitdiff
path: root/app/views/things
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2025-01-27 22:01:42 +0100
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-01-27 22:01:42 +0100
commitffb794a7255b8cbb89d2a4f5490feb59911b8014 (patch)
treeb3bb1b612196ea59ead4ab4e14eac54c7486563f /app/views/things
parentac58c1ba27a68c69d185ee402247a92915fe1f22 (diff)
downloadoperum-ffb794a7255b8cbb89d2a4f5490feb59911b8014.tar.gz
operum-ffb794a7255b8cbb89d2a4f5490feb59911b8014.zip
Replace underscores with the proper HTML tags
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à <mikisabate@gmail.com>
Diffstat (limited to 'app/views/things')
-rw-r--r--app/views/things/_thing.html.erb2
1 files changed, 1 insertions, 1 deletions
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 @@
<div class="thing_head">
<div class="dot dot_<%= thing.kind %>" title="<%= I18n.t("things.kind.#{thing.kind}") %>"></div>
</div>
- <div class="thing_body"><%= link_to thing.title, edit_thing_path(thing) %></div>
+ <div class="thing_body"><%= link_to title_to_html(title: thing.title), edit_thing_path(thing) %></div>
<div class="thing_tail"><%= thing.rate %></div>
</div>