|
@@ -709,7 +709,7 @@ func (c *Action) Render(tmpl string, params ...*T) error {
|
|
|
}
|
|
|
|
|
|
//仅生成网页内容
|
|
|
-var regInclude = regexp.MustCompile(`\{\{\s*include\s*"(.*?\.html)"\}\}`)
|
|
|
+var regInclude = regexp.MustCompile(`\{\{\s*include\s*"(.*?\.html)".*\}\}`)
|
|
|
|
|
|
func (c *Action) NamedRender4Cache(name, content string, params ...*T) ([]byte, error) {
|
|
|
c.f["oinclude"] = c.Include
|