fixed: 1.readme加载不正常

This commit is contained in:
xiaoxiaoqiong 2022-03-18 17:09:06 +08:00
parent d9ae4e4ba0
commit 9912ad0779
1 changed files with 3 additions and 3 deletions

View File

@ -62,9 +62,9 @@ module RepositoriesHelper
image_title = /\"(.*?)\"/
r_content = s[0]
remove_title = r_content.to_s.scan(image_title)
if remove_title.length > 0
r_content = r_content.gsub(/#{remove_title[0]}/, "").strip
end
# if remove_title.length > 0
# r_content = r_content.gsub(/#{remove_title[0]}/, "").strip
# end
path_last = r_content
path_current = ""
# 相对路径处理