roda-component 0.1.62 → 0.1.63
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/roda/component/version.rb +1 -1
- data/lib/roda/component.rb +8 -8
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8490aaaa88513fcbb9c2bbcd69c0055fde8de7b
|
4
|
+
data.tar.gz: bcb08727c28cd5e26fa267df3135a49f46ea568d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fc8f1b8f23e9a2f0f9bf5b343549ba8ad46444f630809ae79f6b7ae6f5ca7f14ce4f9d47a490001b0986f9e896fa6806d7a4d1ed20ed8a013c8146e4f7436d7
|
7
|
+
data.tar.gz: db8379237b11ec4bbe66f7410d6c0c2880d41ba56c3f7678f4b390817b548ed3e51e8753aa08ff417af6983489dfc8c4a3edc0f3e879170941aef1ae02bde30a
|
data/lib/roda/component.rb
CHANGED
@@ -31,16 +31,16 @@ unless RUBY_ENGINE == 'opal'
|
|
31
31
|
module Nokogiri
|
32
32
|
module XML
|
33
33
|
class NodeSet
|
34
|
-
alias_method :original_to_xhtml, :to_xhtml
|
35
|
-
def to_xhtml *args
|
36
|
-
|
37
|
-
end
|
34
|
+
# alias_method :original_to_xhtml, :to_xhtml
|
35
|
+
# def to_xhtml *args
|
36
|
+
# original_to_xhtml(*args).gsub(" ", "\r")
|
37
|
+
# end
|
38
38
|
end
|
39
39
|
class Node
|
40
|
-
alias_method :original_to_xhtml, :to_xhtml
|
41
|
-
def to_xhtml *args
|
42
|
-
|
43
|
-
end
|
40
|
+
# alias_method :original_to_xhtml, :to_xhtml
|
41
|
+
# def to_xhtml *args
|
42
|
+
# original_to_xhtml(*args).gsub(" ", "\r")
|
43
|
+
# end
|
44
44
|
|
45
45
|
private
|
46
46
|
|