hobo_fields 1.3.0.pre16 → 1.3.0.pre18
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/VERSION +1 -1
- data/lib/hobo_fields/sanitize_html.rb +2 -2
- metadata +7 -7
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.3.0.
|
|
1
|
+
1.3.0.pre18
|
|
@@ -4,10 +4,10 @@ module HoboFields
|
|
|
4
4
|
|
|
5
5
|
PERMITTED_TAGS = %w(a abbr acronym address b bdo big blockquote br caption center cite code colgroup dd del dfn dir
|
|
6
6
|
div dl dt em fieldset font h1 h2 h3 h4 h5 h6 i img ins kbd label legend li map menu ol optgroup
|
|
7
|
-
option p pre q s samp select small span strike strong sub sup tbody td textarea tfoot
|
|
7
|
+
option p pre q s samp select small span strike strong sub sup table tbody td textarea tfoot
|
|
8
8
|
th thead tr tt u ul var)
|
|
9
9
|
|
|
10
|
-
PERMITTED_ATTRIBUTES = %w(href title class style align name src label target)
|
|
10
|
+
PERMITTED_ATTRIBUTES = %w(href title class style align name src label target border)
|
|
11
11
|
|
|
12
12
|
class Helper
|
|
13
13
|
include ActionView::Helpers::SanitizeHelper
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hobo_fields
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash: -
|
|
4
|
+
hash: -1637175967
|
|
5
5
|
prerelease: true
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 3
|
|
9
9
|
- 0
|
|
10
|
-
-
|
|
11
|
-
version: 1.3.0.
|
|
10
|
+
- pre18
|
|
11
|
+
version: 1.3.0.pre18
|
|
12
12
|
platform: ruby
|
|
13
13
|
authors:
|
|
14
14
|
- Tom Locke
|
|
@@ -16,7 +16,7 @@ autorequire:
|
|
|
16
16
|
bindir: bin
|
|
17
17
|
cert_chain: []
|
|
18
18
|
|
|
19
|
-
date: 2010-11-
|
|
19
|
+
date: 2010-11-19 00:00:00 -04:00
|
|
20
20
|
default_executable:
|
|
21
21
|
dependencies:
|
|
22
22
|
- !ruby/object:Gem::Dependency
|
|
@@ -43,13 +43,13 @@ dependencies:
|
|
|
43
43
|
requirements:
|
|
44
44
|
- - "="
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
|
-
hash: -
|
|
46
|
+
hash: -1637175967
|
|
47
47
|
segments:
|
|
48
48
|
- 1
|
|
49
49
|
- 3
|
|
50
50
|
- 0
|
|
51
|
-
-
|
|
52
|
-
version: 1.3.0.
|
|
51
|
+
- pre18
|
|
52
|
+
version: 1.3.0.pre18
|
|
53
53
|
type: :runtime
|
|
54
54
|
version_requirements: *id002
|
|
55
55
|
- !ruby/object:Gem::Dependency
|