mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-24 05:35:46 +08:00
fixed: 1.readme加载不正常
This commit is contained in:
@@ -62,9 +62,9 @@ module RepositoriesHelper
|
|||||||
image_title = /\"(.*?)\"/
|
image_title = /\"(.*?)\"/
|
||||||
r_content = s[0]
|
r_content = s[0]
|
||||||
remove_title = r_content.to_s.scan(image_title)
|
remove_title = r_content.to_s.scan(image_title)
|
||||||
if remove_title.length > 0
|
# if remove_title.length > 0
|
||||||
r_content = r_content.gsub(/#{remove_title[0]}/, "").strip
|
# r_content = r_content.gsub(/#{remove_title[0]}/, "").strip
|
||||||
end
|
# end
|
||||||
path_last = r_content
|
path_last = r_content
|
||||||
path_current = ""
|
path_current = ""
|
||||||
# 相对路径处理
|
# 相对路径处理
|
||||||
|
|||||||
Reference in New Issue
Block a user