File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ Active Record extensions for HTML sanitization are available in the [`loofah-act
31
31
* Add the _ nofollow_ attribute to all hyperlinks.
32
32
* Add the _ target=\_ blank_ attribute to all hyperlinks.
33
33
* Remove _ unprintable_ characters from text nodes.
34
+ * Modify _ double breakpoints_ characters to paragraph nodes.
34
35
* Format markup as plain text, with (or without) sensible whitespace handling around block elements.
35
36
* Replace Rails's ` strip_tags ` and ` sanitize ` view helper methods.
36
37
@@ -235,6 +236,7 @@ doc.scrub!(:noopener) # adds rel="noopener" attribute to links
235
236
doc.scrub!(:noreferrer ) # adds rel="noreferrer" attribute to links
236
237
doc.scrub!(:unprintable ) # removes unprintable characters from text nodes
237
238
doc.scrub!(:targetblank ) # adds target="_blank" attribute to links
239
+ doc.scrub!(:double_breakpoint ) # removes double breakpoints to paragraph nodes
238
240
```
239
241
240
242
See ` Loofah::Scrubbers ` for more details and example usage.
You can’t perform that action at this time.
0 commit comments