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