Permalink
Commits on Oct 15, 2009
Commits on Oct 14, 2009
  1. Actually fix the whitespace preservation issue using Nokogiri::XML::N…

    …ode::SaveOptions::AS_XHTML
    
    Thanks to Aaron Patterson for the explanation
    gtd committed with rgrove Oct 14, 2009
Commits on Oct 11, 2009
  1. Release version 1.1.0.

    rgrove committed Oct 11, 2009
Commits on Sep 18, 2009
  1. Bump gemspec

    rgrove committed Sep 18, 2009
  2. Add an :output config setting to allow the output format to be specif…

    …ied. Supported formats are :xhtml (the default) and :html (which outputs HTML4).
    rgrove committed Sep 18, 2009
  3. Add a test for :allow_comments

    rgrove committed Sep 18, 2009
Commits on Sep 16, 2009
  1. Fix encoding errors when running tests in Ruby 1.9.1 and work around …

    …an encoding bug in Nokogiri 1.3.3
    rgrove committed Sep 16, 2009
Commits on Sep 5, 2009
  1. More GitHub-friendly gemspec

    rgrove committed Sep 5, 2009
  2. Add installation instructions

    rgrove committed Sep 5, 2009
Commits on Sep 4, 2009
  1. Remove unnecessary cruft.

    rgrove committed Sep 4, 2009
Commits on Aug 29, 2009
Commits on Aug 25, 2009
Commits on Aug 24, 2009
  1. Merge commit 'rgrove/master'

    Conflicts:
    	Rakefile
    	lib/sanitize.rb
    	sanitize.gemspec
    	test/spec_sanitize.rb
    adamhooper committed Aug 24, 2009
Commits on Aug 11, 2009
Commits on Jul 20, 2009
Commits on May 20, 2009
  1. Changed protocol regex to ensure Sanitize doesn't kill URLs with colo…

    …ns in path segments
    peter committed May 20, 2009
Commits on Apr 24, 2009
  1. Release 1.0.8

    rgrove committed Apr 24, 2009
  2. Work around an Hpricot bug that prevents attribute names from being d…

    …owncased in recent versions of Hpricot. This was exploitable to prevent non-whitelisted protocols from being cleaned.
    
    See http://github.com/why/hpricot/issues#issue/2
    
    Thanks to Ben Wanicur for reporting this.
    rgrove committed Apr 24, 2009
Commits on Apr 12, 2009
  1. Release 1.0.7

    rgrove committed Apr 12, 2009
Commits on Apr 4, 2009
Commits on Feb 24, 2009
  1. Release version 1.0.6.

    rgrove committed Feb 24, 2009
Commits on Feb 15, 2009
  1. Fix stray comma.

    rgrove committed Feb 15, 2009
  2. Bump gemspec

    rgrove committed Feb 15, 2009
  3. Whoops, forgot one.

    rgrove committed Feb 15, 2009
  4. Add list of contributors.

    rgrove committed Feb 15, 2009
  5. Use :all instead of '*' to specify attributes to be added to all elem…

    …ents; slight tweaks and documentation.
    rgrove committed Feb 15, 2009
  6. added @config[:attributes]['*'] to set values allowed for all elements

    Signed-off-by: Ryan Grove <ryan@wonko.com>
    Mutwin Kraus committed with rgrove Feb 12, 2009
Commits on Feb 8, 2009
  1. Remove htmlentities gem dependency; preserve well-formed entity refer…

    …ences in input; encode special chars in attribute values; encode apostrophes as &#39; rather than &apos;
    rgrove committed Feb 8, 2009
Commits on Feb 7, 2009
  1. Fix crash with unclosed HTML tags

    Adam Hooper committed with rgrove Jan 26, 2009