lib/kiss/rack/facebook.rb in kiss-1.0.4 vs lib/kiss/rack/facebook.rb in kiss-1.1
- old
+ new
@@ -17,9 +17,10 @@
body.each {|p| contents += p }
contents.gsub!(/txmt:\/\//, 'http://textmate.local/')
contents.gsub!('<body>','<div class="body">')
contents.gsub!('</body>','</div>')
+ contents.gsub!('<wbr/>','')
headers['Content-Length'] = contents.length.to_s
[ code, headers, contents ]
end
\ No newline at end of file