diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-01-27 22:01:42 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-01-27 22:01:42 +0100 |
| commit | ffb794a7255b8cbb89d2a4f5490feb59911b8014 (patch) | |
| tree | b3bb1b612196ea59ead4ab4e14eac54c7486563f /app/views/things | |
| parent | ac58c1ba27a68c69d185ee402247a92915fe1f22 (diff) | |
| download | operum-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.erb | 2 |
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> |
