lib/downloader.rb in narou-1.3.5 vs lib/downloader.rb in narou-1.3.5.1
- old
+ new
@@ -480,10 +480,10 @@
if @setting["narou_api_url"] && !serial_novel?
raise NoSerialNovel
end
@setting.multi_match(toc_source, "title", "author", "story", "tcode")
@title = @setting["title"]
- @file_title = Helper.replace_filename_special_chars(@title)
+ @file_title = Helper.replace_filename_special_chars(@title).strip
toc_objects = {
"title" => @title,
"author" => @setting["author"],
"toc_url" => @setting["toc_url"],
"story" => @setting["story"],