Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Do not sanitize the main content area

  • Loading branch information...
commit 6c33c84d6ff1691b9ace1845543a06d11939da1b 1 parent 7192f3a
@sikachu sikachu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/readability.rb
View
2  lib/readability.rb
@@ -59,7 +59,7 @@ def content(remove_unlikely_candidates = :default)
best_candidate = select_best_candidate(candidates)
article = get_article(candidates, best_candidate)
- cleaned_article = sanitize(article, candidates, options)
+ cleaned_article = article.to_html
if article.text.strip.length < options[:retry_length]
if @remove_unlikely_candidates
@remove_unlikely_candidates = false
Please sign in to comment.
Something went wrong with that request. Please try again.