Skip to content

Commit 7f3e539

Browse files
committed
Explain the gem's use is only for Rails apps.
1 parent 1c710be commit 7f3e539

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
In Rails 4.2 and above this gem will be responsible for sanitizing HTML fragments in Rails
44
applications, i.e. in the `sanitize`, `sanitize_css`, `strip_tags` and `strip_links` methods.
55

6+
Rails Html Sanitizer is only intended to be used with Rails applications. If you need similar functionality in non Rails apps consider using [Loofah](https://github.com/flavorjones/loofah) directly (that's what handles sanitization under the hood).
7+
68
## Installation
79

810
Add this line to your application's Gemfile:

0 commit comments

Comments
 (0)