Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
this isn't solution yet, but it work with our project
  • Loading branch information
Davide committed Jan 31, 2012
1 parent cf91bf5 commit f1d9ebe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -2,6 +2,7 @@ rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- jruby
branches:
only:
- master
3 changes: 1 addition & 2 deletions lib/rack/pjax.rb
@@ -1,5 +1,4 @@
require 'nokogiri'
require 'open-uri'

module Rack
class Pjax
Expand All @@ -21,7 +20,7 @@ def call(env)
if container
title = parsed_body.at("title")
new_body << title.to_s if title
new_body << container.children.to_xhtml
new_body << container.inner_html
else
new_body << b
end
Expand Down

0 comments on commit f1d9ebe

Please sign in to comment.