readme中变量图片相对路径 log error
This commit is contained in:
parent
8197e30069
commit
9e0404b24e
|
@ -121,7 +121,7 @@ module RepositoriesHelper
|
||||||
s_regex = /```([\s\S]*?)```[\s]?/
|
s_regex = /```([\s\S]*?)```[\s]?/
|
||||||
s_regex_1 = /\[.*?\]\((.*?)\)/
|
s_regex_1 = /\[.*?\]\((.*?)\)/
|
||||||
# 变量图片相对路径
|
# 变量图片相对路径
|
||||||
s_regex_2 = /\[.*?\]:(.*?)\r\n/
|
s_regex_2 = /\[.*?\]:(.*?)\n/
|
||||||
src_regex = /src=\"(.*?)\"/
|
src_regex = /src=\"(.*?)\"/
|
||||||
src_regex_1 = /src=\'(.*?)\'/
|
src_regex_1 = /src=\'(.*?)\'/
|
||||||
ss_c = content.to_s.scan(s_regex_c)
|
ss_c = content.to_s.scan(s_regex_c)
|
||||||
|
|
Loading…
Reference in New Issue