comparison 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
comparison
equal deleted inserted replaced
168:0c60db0a3686 169:04ca6c4f11d0
16 <%= auto_link(expand_url( 16 <%= auto_link(expand_url(
17 tweet.attrs[:full_text].printable, 17 tweet.attrs[:full_text].printable,
18 tweet.attrs[:entities][:urls], 18 tweet.attrs[:entities][:urls],
19 tweet.attrs[:entities][:media] 19 tweet.attrs[:entities][:media]
20 )) 20 ))
21 .gsub("\n", "<br>") 21 .gsub("\n", "<br />")
22 .html_safe 22 .html_safe
23 %> 23 %>
24 </p> 24 </p>
25 25
26 <p> 26 <p>