misc/plugin/random_google.rb in tdiary-5.0.3 vs misc/plugin/random_google.rb in tdiary-5.0.4
- old
+ new
@@ -70,10 +70,10 @@
rrr = r.compact.map.to_a.join(' ')
caption = @conf['random_google.caption'].gsub(/\$1/, h(rrr)) # only the words picked up are escaped
popup = h(@conf['random_google.popup'].gsub(/\$1/, rrr)) # escaped
<<-HTML
<div class="body-enter">
- [<a href="http://www.google.com/search?lr=lang_ja&ie=utf-8&q=#{rr}" title="#{popup}">
+ [<a href="https://www.google.com/search?lr=lang_ja&ie=utf-8&q=#{rr}" title="#{popup}">
#{caption}
</a>]
</div>
HTML
end