Skip to content

Commit 59aac52

Browse files
committed
docs: Update documentation
1 parent 9955c24 commit 59aac52

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: README.md

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Active Record extensions for HTML sanitization are available in the [`loofah-act
3131
* Add the _nofollow_ attribute to all hyperlinks.
3232
* Add the _target=\_blank_ attribute to all hyperlinks.
3333
* Remove _unprintable_ characters from text nodes.
34+
* Modify _double breakpoints_ characters to paragraph nodes.
3435
* Format markup as plain text, with (or without) sensible whitespace handling around block elements.
3536
* Replace Rails's `strip_tags` and `sanitize` view helper methods.
3637

@@ -235,6 +236,7 @@ doc.scrub!(:noopener) # adds rel="noopener" attribute to links
235236
doc.scrub!(:noreferrer) # adds rel="noreferrer" attribute to links
236237
doc.scrub!(:unprintable) # removes unprintable characters from text nodes
237238
doc.scrub!(:targetblank) # adds target="_blank" attribute to links
239+
doc.scrub!(:double_breakpoint) # removes double breakpoints to paragraph nodes
238240
```
239241

240242
See `Loofah::Scrubbers` for more details and example usage.

0 commit comments

Comments
 (0)