Permalink
Browse files

Do not sanitize the main content area

  • Loading branch information...
1 parent 7192f3a commit 6c33c84d6ff1691b9ace1845543a06d11939da1b @sikachu sikachu committed Nov 9, 2011
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

0 comments on commit 6c33c84

Please sign in to comment.