gdocs_features 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/gdocs_features.gemspec +1 -1
- data/lib/google_feature.rb +1 -1
- data/pkg/gdocs_features-0.1.0.gem +0 -0
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
data/gdocs_features.gemspec
CHANGED
data/lib/google_feature.rb
CHANGED
@@ -33,7 +33,7 @@ class GoogleFeature < Feature
|
|
33
33
|
|
34
34
|
def remove_html(html_body)
|
35
35
|
text = Nokogiri::HTML(html_body).at('body').inner_html
|
36
|
-
text.gsub(" ", " ").gsub("<br>", "\n").gsub("\n\n", "\n").gsub(/<\/?[^>]*>/, "")
|
36
|
+
text.gsub(" ", " ").gsub(/\xa0/, " ").gsub("<br>", "\n").gsub("\n\n", "\n").gsub(/<\/?[^>]*>/, "")
|
37
37
|
end
|
38
38
|
|
39
39
|
def underscore(camel_cased_word)
|
Binary file
|