Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Remove double escaping #104

Merged
merged 1 commit into from

3 participants

@seppo0010

Title is already escaped on page.rb:129

@beanz

Good catch. There are two other instances of this problem in '/usercomments/:username/:start' and '/news/:news_id'.
-Mark.

@antirez antirez merged commit 6e41b9b into from
@antirez
Owner

Thanks, merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 4, 2011
  1. @seppo0010

    Remove double escaping

    seppo0010 authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  app.rb
View
2  app.rb
@@ -263,7 +263,7 @@
else
top_comment = ""
end
- H.set_title "#{H.entities news["title"]} - #{SiteName}"
+ H.set_title "#{news["title"]} - #{SiteName}"
H.page {
H.section(:id => "newslist") {
news_to_html(news)
Something went wrong with that request. Please try again.