chore: Update cssRe regular expression to include hyphen in selectors
This commit is contained in:
parent
8583f1a0f0
commit
971246d090
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
var slotRe = regexp.MustCompile(`\[\{([^\}]+)\}\]`)
|
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
|
// Build is the struct for the public
|
||||||
func (page *Page) Build(option *BuildOption) (*goquery.Document, []string, error) {
|
func (page *Page) Build(option *BuildOption) (*goquery.Document, []string, error) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue