UnderpantsGnome / hpricot_scrub

Strip and sanitize HTML with Hpricot

This URL has Read+Write access

hpricot_scrub / CHANGELOG.txt
100644 62 lines (50 sloc) 2.228 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
2009-04-23 Mina Naguib <mina.hpricotscrub@naguib.ca>
Release 0.3.7
- More fixes for recent versions of hpricot - Thanks Luc Chauvin
 
2009-04-07 Mina Naguib <mina.hpricotscrub@naguib.ca>
Release 0.3.6
- Fixes for recent versions of hpricot:
 
2009-03-30 Mina Naguib <mina.hpricotscrub@naguib.ca>
Release 0.3.5
- Fixes for recent versions of hpricot:
- Fix fatal error scrubbing anything that has no children (such as an
EmptyElem)
- Fix fatal error removing elements with no children
 
2008-11-02 Michael <michael@underpantsgnome.com>
Release 0.3.4
- Fix gem command test - Thanks David Masover
 
2007-04-05 Michael <michael@underpantsgnome.com>
Release 0.3.2
- Fix broken dependancy in the gem
 
2008-06-03 Mina Naguib <mina.hpricotscrub@naguib.ca>
Release 0.3.1
  - Allow an element rule to be a Proc (which is expected to return one of
the other non-proc rules (false/:strip/true/attr_rules). This allows the
building of highly custom filtering rules (for example filter out <B>
tags unless their parent is a <P>...)
- Slight cleanup of internal documentation
 
2008-01-11 Mina Naguib <mina.hpricotscrub@naguib.ca>
Release 0.3.0
Large overhaul of the module's logic to mimic most of perl's HTML::Scrubber
functionality:
   - Deprecate config keys :allow_tags, :remove_tags and :allow_attributes
- Introduce config keys :elem_rules, :default_elem_rule,
:default_comment_rule and :default_attribute_rule
- Document the above (inline - visible in rdoc & the likes)
 
2007-04-05 Michael <michael@underpantsgnome.com>
Release 0.2.3
Add patches from Eric Wong
- Recursive scrubbing wasn't scrubbing if parent was in allow
- Add optional use of HTMLEntities
 
2007-03-04 Michael <michael@underpantsgnome.com>
Release 0.2.2
Add patches from Eric Wong
- Apparently my environment is automagically including YAML, added that
- Add a check to see if an element responds to scrub when calling scrubable?
 
2007-03-04 Michael <michael@underpantsgnome.com>
Release 0.2.0
- Add String methods for scrub and scrub!
 
- Fixed a bug where nested elements were not being scrubbed when using a
config hash
 
2007-03-03 Michael <michael@underpantsgnome.com>
- Release 0.1.0, Initial Gem version