| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
tense. Changed deprecation message to not use you. Also returning from rescue block in catch_invalid_selector to abort reraising the exception.
|
| |
|
|
|
|
| |
Loofah's strip scrubber.
|
| |
|
| |
|
| |
|
|
|
|
| |
WhiteListSanitizer. This means it'll return false if called with false, however that is not a valid use case.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
attribute_nodes instead of nodes.
|
| |
|
| |
|
|
|
|
| |
remove_xpaths.
|
| |
|
|
|
|
| |
checking .is_a? Regexp every time through the loop.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
extract_selector.
|
| |
|
|
|
|
| |
method used them. Passed the values directly to there instead.
|
|
|
|
| |
number of children.
|
|
|
|
| |
Loofah fragment returns Loofah fragment. Added tests for this.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
ability to stop traversing by returning STOP from scrub_node.
|
|
|
|
| |
be compliant. Updated documentation for PermitScrubber and TargetScrubber for clarity.
|
|
|
|
| |
subclasses. Renamed should_remove_attributes? to should_scrub_attributes?.
|
|
|
|
| |
which is more general, while still allowing maximum code reuse.
|
|
|
|
| |
PermitScrubber easier to subclass.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
used anywhere.
|
| |
|
| |
|
| |
|