zumobi 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/zumobi/removing_sanitize.rb +4 -0
- data/lib/zumobi/version.rb +1 -1
- metadata +3 -3
@@ -1,3 +1,7 @@
|
|
1
|
+
require 'htmlentities'
|
2
|
+
require 'nokogiri'
|
3
|
+
require 'sanitize'
|
4
|
+
|
1
5
|
# A wrapper to add the ability to specify "removals" when sanitizing HTML. The library we're using will
|
2
6
|
# remove tags, but it cannot be told to remove a tag with all of its child content, as we would want
|
3
7
|
# for a script or object tag, for example.
|
data/lib/zumobi/version.rb
CHANGED
metadata
CHANGED