lib/downloader.rb in narou-2.6.0 vs lib/downloader.rb in narou-2.6.1
- old
+ new
@@ -728,10 +728,12 @@
@setting["story"] = info["story"]
else
# 小説情報ページがないサイトの場合は目次ページから取得する
@setting.multi_match(toc_source, "title", "author", "story")
raise DownloaderNotFoundError unless @setting.matched?("title")
- @setting["story"] = HTML.new(@setting["story"]).to_aozora
+ story_html = HTML.new(@setting["story"])
+ story_html.strip_decoration_tag = true
+ @setting["story"] = story_html.to_aozora
end
@setting["info"] = info
@setting["title"] = get_title
if series_novel?