lib/helper.rb in narou-3.4.2 vs lib/helper.rb in narou-3.4.3
- old
+ new
@@ -365,10 +365,10 @@
end
def truncate_folder_title(title, limit = Inventory.load["folder-length-limit"])
limit ||= FOLDER_LENGTH_LIMIT
return title if title.length <= limit
- title[0...limit]
+ title[0...limit].strip
end
#
# src をERBとして読み込んでから dst に書き出す
#