Merge pull request #619 from trheyi/main
chore: Update cssRe regular expression to include hyphen in selectors
This commit is contained in:
commit
e881e9def4
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ import (
|
|||
)
|
||||
|
||||
var slotRe = regexp.MustCompile(`\[\{([^\}]+)\}\]`)
|
||||
var cssRe = regexp.MustCompile(`([\.a-z0-9A-Z# ]+)\{`)
|
||||
var cssRe = regexp.MustCompile(`([\.a-z0-9A-Z-:# ]+)\{`)
|
||||
|
||||
// Build is the struct for the public
|
||||
func (page *Page) Build(option *BuildOption) (*goquery.Document, []string, error) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue