mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 06:17:45 +00:00
1 parent
35def0ae45
commit
b2a48dce58
1 file changed
+1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user