diff --git a/app/views/notes/index.html.erb b/app/views/notes/index.html.erb index f805a10402..f6bd75869a 100644 --- a/app/views/notes/index.html.erb +++ b/app/views/notes/index.html.erb @@ -48,7 +48,7 @@ <%= link_to note.id, note %> <%= note_author(note.author) %> - <%= note.description.to_html %> + <%= note_description(note).to_html %> <%= friendly_date_ago(note.created_at) %> <%= friendly_date_ago(note.updated_at) %> diff --git a/app/views/notes/show.html.erb b/app/views/notes/show.html.erb index a320240488..3ea4f396a0 100644 --- a/app/views/notes/show.html.erb +++ b/app/views/notes/show.html.erb @@ -5,7 +5,7 @@

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

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