Browse files

Remove more double escaping.

  • Loading branch information...
1 parent 24b47c2 commit 6362e672cfaccb4b4fff34343489f91159c6f4d7 @antirez committed Oct 11, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 app.rb
View
6 app.rb
@@ -143,7 +143,7 @@
user = get_user_by_username(params[:username])
halt(404,"Non existing user") if !user
- page_title = "News posted by #{H.entities user['username']}"
+ page_title = "News posted by #{user['username']}"
H.set_title "#{page_title} - #{SiteName}"
paginate = {
@@ -168,7 +168,7 @@
user = get_user_by_username(params[:username])
halt(404,"Non existing user") if !user
- H.set_title "#{H.entities user['username']} comments - #{SiteName}"
+ H.set_title "#{user['username']} comments - #{SiteName}"
paginate = {
:get => Proc.new {|start,count|
get_user_comments(user['id'],start,count)
@@ -517,7 +517,7 @@ def render_comment_subthread(comment,sep="")
$r.zcard("user.posted:#{user['id']}")
$r.zcard("user.comments:#{user['id']}")
}
- H.set_title "#{H.entities user['username']} - #{SiteName}"
+ H.set_title "#{user['username']} - #{SiteName}"
owner = $user && ($user['id'].to_i == user['id'].to_i)
H.page {
H.div(:class => "userinfo") {

0 comments on commit 6362e67

Please sign in to comment.