fixed: 1.readme加载不正常
This commit is contained in:
parent
d9ae4e4ba0
commit
9912ad0779
|
@ -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 = ""
|
||||
# 相对路径处理
|
||||
|
|
Loading…
Reference in New Issue