aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/application_helper.rb
diff options
context:
space:
mode:
authorrhenium <re4k@re4k.info>2013-05-20 01:00:17 +0900
committerrhenium <re4k@re4k.info>2013-05-20 01:00:17 +0900
commit68067759446f9101b92932f81f55c698bb54047a (patch)
treed3823a5d8e96e62b7e269f2069a97fccc6f4a1f0 /app/helpers/application_helper.rb
parent1aede390bc4f6ecbd81a5a4d354e8ac25b3435c3 (diff)
downloadaclog-68067759446f9101b92932f81f55c698bb54047a.tar.gz
unescape title, text: tweet text is HTML escaped
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r--app/helpers/application_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 8ef84e4..a94b0af 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -48,11 +48,11 @@ module ApplicationHelper
end
def caption
- "#{@caption}"
+ CGI.unescapeHTML "#{@caption}"
end
def title
- "#{@title || @caption} - aclog"
+ CGI.unescapeHTML "#{@title || @caption} - aclog"
end
# utf8, form