diff app/views/tweets/_tweet.html.erb @ 169:04ca6c4f11d0

xhtml compliance
author nanaya <me@nanaya.pro>
date Wed, 08 Aug 2018 20:19:08 +0900
parents 522d832d8a8c
children df4be896ab8b
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>