troelskn-handsoap 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.markdown +1 -1
- data/VERSION.yml +1 -1
- data/lib/handsoap/service.rb +2 -2
- metadata +1 -1
data/README.markdown
CHANGED
@@ -220,7 +220,7 @@ License
|
|
220
220
|
|
221
221
|
Copyright: [Unwire A/S](http://www.unwire.dk), 2009
|
222
222
|
|
223
|
-
License: [Creative Commons Attribution 2.5 Denmark License](http://creativecommons.org/licenses/by/2.5/dk/)
|
223
|
+
License: [Creative Commons Attribution 2.5 Denmark License](http://creativecommons.org/licenses/by/2.5/dk/deed.en_GB)
|
224
224
|
|
225
225
|
___
|
226
226
|
|
data/VERSION.yml
CHANGED
data/lib/handsoap/service.rb
CHANGED
@@ -10,8 +10,8 @@ require 'handsoap/xml_mason'
|
|
10
10
|
# so this monkeypatch adds that capability ..
|
11
11
|
module Utf8StringPatch
|
12
12
|
def to_utf8
|
13
|
-
# HTMLEntities.decode_entities(self.serialize('UTF-8'))
|
14
|
-
self.serialize('UTF-8').gsub('<', '<').gsub('>', '>').gsub('"', '"').gsub(''', "'").gsub('&', '&')
|
13
|
+
# HTMLEntities.decode_entities(self.serialize(:encoding => 'UTF-8'))
|
14
|
+
self.serialize(:encoding => 'UTF-8').gsub('<', '<').gsub('>', '>').gsub('"', '"').gsub(''', "'").gsub('&', '&')
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|