commit
a6f10eccdb
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ func (page *Page) BuildStyle(option *BuildOption) (string, error) {
|
||||||
|
|
||||||
if option.Namespace != "" {
|
if option.Namespace != "" {
|
||||||
code = cssRe.ReplaceAllStringFunc(code, func(css string) string {
|
code = cssRe.ReplaceAllStringFunc(code, func(css string) string {
|
||||||
return fmt.Sprintf("[s:ns=%s] %s", option.Namespace, css)
|
return fmt.Sprintf("[s\\:ns=%s] %s", option.Namespace, css)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue