Improve RssReader's nbsp parsing (#155)
This commit is contained in:
parent
4fa675d792
commit
5f1bcf15a4
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ class RssReader
|
|||
cleaned_item_content = HtmlCleaner.new.clean_html(get_content(item))
|
||||
cleaned_item_content = thorough_parsing(cleaned_item_content, feed.url)
|
||||
ReverseMarkdown.convert(cleaned_item_content, github_flavored: true).
|
||||
gsub("```\n\n```", "").gsub(" ", " ")
|
||||
gsub("```\n\n```", "").gsub(/ |\u00A0/, " ")
|
||||
end
|
||||
|
||||
def thorough_parsing(content, feed_url)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue