mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-22 20:55:46 +08:00
readme中变量图片相对路径
This commit is contained in:
@@ -154,7 +154,6 @@ module RepositoriesHelper
|
|||||||
when 'ss_2'
|
when 'ss_2'
|
||||||
img_regex = s[0].gsub(" ", "")
|
img_regex = s[0].gsub(" ", "")
|
||||||
content = content.gsub(/]:#{img_regex}/, "]: #{s_content}")
|
content = content.gsub(/]:#{img_regex}/, "]: #{s_content}")
|
||||||
else
|
|
||||||
else
|
else
|
||||||
content = content.gsub("(#{s[0]})", "(#{s_content})")
|
content = content.gsub("(#{s[0]})", "(#{s_content})")
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user