Permalink
Browse files

update readme. backfill config sample

  • Loading branch information...
1 parent 4b55e81 commit d41513f3d3e1f66fb942e0d81715e8b1c8f18c18 @UnderpantsGnome committed Aug 19, 2009
Showing with 26 additions and 5 deletions.
  1. +2 −5 README.txt
  2. +24 −0 examples/config.yml
View
@@ -1,16 +1,13 @@
= hpricot_scrub
-http://trac.underpantsgnome.com/hpricot_scrub
+http://github.com/UnderpantsGnome/hpricot_scrub/tree/master
== DESCRIPTION:
HpricotScrub is a wrapper around Hpricot that allows you to easily scrub HTML
of tags and attributes you don't want in the final output.
-See examples/config.yml for a sample config file or
-
-== FEATURES/PROBLEMS:
-
+See examples/config.yml or examples/old_config.yml for a sample configs
== SYNOPSIS:
View
@@ -0,0 +1,24 @@
+---
+:elem_rules:
+ script: false
+ html: true
+ body:
+ lang:
+ - en
+ - es
+ - fr
+
+ strong: true
+ p: true
+ br: true
+ marquee: :strip
+ div:
+ - id
+ - class
+ - style
+ style: false
+ span: :strip
+ hr: true
+:default_elem_rule: :strip
+:default_comment_rule: false
+:default_attribute_rule: false

0 comments on commit d41513f

Please sign in to comment.