mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-04-05 20:17:53 +08:00
fix:修复正则错误
This commit is contained in:
parent
9a11df47f3
commit
f41d507db5
@ -22,7 +22,7 @@ import (
|
||||
|
||||
var (
|
||||
imageRegex = regexp.MustCompile(`(src|background)=["'](.*?)["']`)
|
||||
schemeRegxp = regexp.MustCompile(`^[A-z]+://`)
|
||||
schemeRegxp = regexp.MustCompile(`^[a-zA-Z]+://`)
|
||||
)
|
||||
|
||||
// Mail will represent a formatted email
|
||||
|
Loading…
Reference in New Issue
Block a user