mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-23 19:32:10 +00:00
parent
35def0ae45
commit
b2a48dce58
1 changed files with 1 additions and 0 deletions
|
@ -149,6 +149,7 @@ func (c *cssClassCollectorWriter) insertStandinHTMLElement(el string) (string, s
|
|||
if spacei != -1 {
|
||||
tag = tag[:spacei]
|
||||
}
|
||||
tag = strings.Trim(tag, "\n ")
|
||||
newv := strings.Replace(el, tag, "div", 1)
|
||||
return newv, strings.ToLower(tag)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue