replace empty scheme in link or image by https
parent
86efeb7fee
commit
cb8e74cea8
|
@ -7,6 +7,12 @@ module.exports = {
|
|||
domain: /.*/,
|
||||
remove: [
|
||||
/\[¶\]\(#[^\s]+\s+"[^"]+"\)/g
|
||||
],
|
||||
replace: [
|
||||
{
|
||||
find: /\[([^\]]*)\]\(\/\/([^\)]*)\)/g,
|
||||
replacement: '[$1](https$2)'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue