loofah
Ruby library for HTML/XML transformation and sanitization (by flavorjones)
loofah | rails-html-sanitizer | |
---|---|---|
1 | 3 | |
923 | 295 | |
- | 0.7% | |
5.3 | 6.3 | |
7 days ago | 7 days ago | |
Ruby | Ruby | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
loofah
Posts with mentions or reviews of loofah.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-05.
-
Did you know Nokogiri now has opt-in HTML5 parsing?
loofah and rails-html-sanitizer gems follow nokogiri's lead to have opt-in HTML5 parsing (using nokogiri), using HTML5 classes -- if you use the default existing legacy API, you still get HTML4 parsing.
rails-html-sanitizer
Posts with mentions or reviews of rails-html-sanitizer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-05.
-
Did you know Nokogiri now has opt-in HTML5 parsing?
loofah and rails-html-sanitizer gems follow nokogiri's lead to have opt-in HTML5 parsing (using nokogiri), using HTML5 classes -- if you use the default existing legacy API, you still get HTML4 parsing.
- ActionText: Safe listing attributes and tags
-
How to sanitize XML tags in Rails
Once I noticed that we can sanitize XML-tags using rails-html-sanitizer and loofah gems. And I want to share the knowledge.
What are some alternatives?
When comparing loofah and rails-html-sanitizer you can also consider the following projects:
rails-dom-testing - Extracting DomAssertions and SelectorAssertions from ActionView.
modify-actiontext-html-output