rgrove-sanitize 1.0.5.3 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY +1 -1
- data/README.rdoc +2 -2
- metadata +1 -1
data/HISTORY
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Sanitize History
|
2
2
|
================================================================================
|
3
3
|
|
4
|
-
Version
|
4
|
+
Version 1.0.6 (2009-02-23)
|
5
5
|
* Removed htmlentities gem dependency.
|
6
6
|
* Existing well-formed character entity references in the input string are now
|
7
7
|
preserved rather than being decoded and re-encoded.
|
data/README.rdoc
CHANGED
@@ -15,7 +15,7 @@ or maliciously-formed HTML. When in doubt, Sanitize always errs on the side of
|
|
15
15
|
caution.
|
16
16
|
|
17
17
|
*Author*:: Ryan Grove (mailto:ryan@wonko.com)
|
18
|
-
*Version*::
|
18
|
+
*Version*:: 1.0.6 (2009-02-23)
|
19
19
|
*Copyright*:: Copyright (c) 2009 Ryan Grove. All rights reserved.
|
20
20
|
*License*:: MIT License (http://opensource.org/licenses/mit-license.php)
|
21
21
|
*Website*:: http://github.com/rgrove/sanitize
|
@@ -104,7 +104,7 @@ If you'd like to allow certain attributes on all elements, use the symbol
|
|
104
104
|
|
105
105
|
:attributes => {
|
106
106
|
:all => ['class'],
|
107
|
-
'a' => ['href', 'title']
|
107
|
+
'a' => ['href', 'title']
|
108
108
|
}
|
109
109
|
|
110
110
|
==== :add_attributes
|