File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 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
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
235236doc.scrub!(:noreferrer ) # adds rel="noreferrer" attribute to links
236237doc.scrub!(:unprintable ) # removes unprintable characters from text nodes
237238doc.scrub!(:targetblank ) # adds target="_blank" attribute to links
239+ doc.scrub!(:double_breakpoint ) # removes double breakpoints to paragraph nodes
238240```
239241
240242See ` Loofah::Scrubbers ` for more details and example usage.
You can’t perform that action at this time.
0 commit comments