Skip to content

Commit

Permalink
clarify usage of children
Browse files Browse the repository at this point in the history
  • Loading branch information
eval committed Nov 7, 2011
1 parent 680a7d5 commit fc1d542
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rack/pjax.rb
Expand Up @@ -22,6 +22,7 @@ def call(env)
title = parsed_body.at("title")

new_body << title.to_s if title
# workaround hpricot bug (https://github.com/eval/rack-pjax/pull/5)
new_body << children.map { |c| c.to_original_html }.join
else
new_body << b
Expand Down

0 comments on commit fc1d542

Please sign in to comment.