roda-component 0.1.66 → 0.1.67
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 +2 -2
- 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: 542fcc4e3fcd26760eb169de2eabd839e67a585d
|
4
|
+
data.tar.gz: 5b646f00890f859fadbf63867002881103d9feb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d096345faa7d21c2d3b6a1be235889cb14239c2fad03642a8dfb7a0ba664f57a1412f2296145a545e38d9f6ff7e49a1d80429ee12afaffa0e5cb0d58e46ba446
|
7
|
+
data.tar.gz: b15b6689e6a9d33b9775ccc6ee93ba47ffd05e72e8aa18d28824f59ea7649ead6ba71d41b4f88ec229ee2b8b8ca1aa48c6e0a27875f57d174bb00b8dfc55b3fc
|
data/lib/roda/component.rb
CHANGED
@@ -34,14 +34,14 @@ unless RUBY_ENGINE == 'opal'
|
|
34
34
|
# fix: this is really shity
|
35
35
|
alias_method :original_to_html, :to_html
|
36
36
|
def to_html *args
|
37
|
-
original_to_html(*args).gsub(
|
37
|
+
original_to_html(*args).gsub('%7B', "{").gsub('%7D', "}")
|
38
38
|
end
|
39
39
|
end
|
40
40
|
class Node
|
41
41
|
# fix: this is really shity
|
42
42
|
alias_method :original_to_html, :to_html
|
43
43
|
def to_html *args
|
44
|
-
original_to_html(*args).gsub(
|
44
|
+
original_to_html(*args).gsub('%7B', "{").gsub('%7D', "}")
|
45
45
|
end
|
46
46
|
|
47
47
|
private
|