aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/sanitize_helper/scrubbers.rb
Commit message (Collapse)AuthorAgeFilesLines
* Changed PermitScrubber's direction to bottom up to align better with ↵Timm2014-06-161-0/+1
| | | | Loofah's strip scrubber.
* Minor rewording in TargetScrubber documentation.Timm2014-06-161-3/+3
|
* Fixed: added apostrophe to possessive noun.Timm2014-06-161-1/+1
|
* Removed :nodoc: from PermitScrubber.Timm2014-06-161-1/+0
|
* Reworked documentation for PermitScrubber and TargetScrubber.Timm2014-06-161-2/+33
|
* Fixed: spelling error.Timm2014-06-161-1/+1
|
* Initialized tags and attributes to nil.Timm2014-06-161-0/+4
|
* Refactored scrub to keep_node? instead of scrub_node calling it. Also added ↵Timm2014-06-161-6/+5
| | | | ability to stop traversing by returning STOP from scrub_node.
* Changed PermitScrubber to be even more extensible. Updated TargetScrubber to ↵Timm2014-06-161-39/+40
| | | | be compliant. Updated documentation for PermitScrubber and TargetScrubber for clarity.
* Changed PermitScrubbers documentation to list override points for ↵Timm2014-06-161-12/+15
| | | | subclasses. Renamed should_remove_attributes? to should_scrub_attributes?.
* Already killed off LinkScrubber. Changed it instead to be TargetScrubber, ↵Timm2014-06-161-8/+18
| | | | which is more general, while still allowing maximum code reuse.
* Added LinkScrubber to remove duplication in LinkSanitizer. As such made ↵Timm2014-06-161-0/+91
PermitScrubber easier to subclass.