openskip-skip_embedded 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/skip_embedded/helpers/ui.rb +1 -1
- data/lib/skip_embedded.rb +1 -1
- metadata +2 -2
@@ -3,7 +3,7 @@ module SkipEmbedded
|
|
3
3
|
module Ui
|
4
4
|
|
5
5
|
def sanitize_richtext(content)
|
6
|
-
allowed_tags = HTML::WhiteListSanitizer.allowed_tags.dup << "table" << "tbody" << "tr" << "th" << "td" << "caption"
|
6
|
+
allowed_tags = HTML::WhiteListSanitizer.allowed_tags.dup << "table" << "tbody" << "tr" << "th" << "td" << "caption" << "strike"
|
7
7
|
allowed_attributes = HTML::WhiteListSanitizer.allowed_attributes.dup << "style" << "cellspacing" << "cellpadding" << "border" << "align" << "summary"
|
8
8
|
sanitize(content, :tags => allowed_tags, :attributes => allowed_attributes)
|
9
9
|
end
|
data/lib/skip_embedded.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openskip-skip_embedded
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MOROHASHI Kyosuke
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-04-
|
12
|
+
date: 2009-04-23 00:00:00 -07:00
|
13
13
|
default_executable: skip-gen
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|