changeset 169:04ca6c4f11d0

xhtml compliance
author nanaya <me@nanaya.pro>
date Wed, 08 Aug 2018 20:19:08 +0900
parents 0c60db0a3686
children 05ce14af003a
files app/views/tweets/_tweet.html.erb
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/views/tweets/_tweet.html.erb	Wed Aug 08 19:52:06 2018 +0900
+++ b/app/views/tweets/_tweet.html.erb	Wed Aug 08 20:19:08 2018 +0900
@@ -18,7 +18,7 @@
           tweet.attrs[:entities][:urls],
           tweet.attrs[:entities][:media]
         ))
-        .gsub("\n", "<br>")
+        .gsub("\n", "<br />")
         .html_safe
       %>
   </p>