Fix HTML spelling in app_config.go

This commit is contained in:
Qais Patankar
2019-05-01 03:06:19 +01:00
committed by GitHub
parent ac203ec931
commit 5aa5ad8ad3

View File

@@ -41,7 +41,7 @@ func (a *AppConfig) merge(in *AppConfig) error {
a.HTML = strings.TrimSpace(inlineHTML)
// Deduce whether this is a full html page or a fragment
// The document is determined to be a fragment if an HMTL
// The document is determined to be a fragment if an HTML
// tag exists and is located before the first div tag
HTMLTagIndex := strings.Index(a.HTML, "<html")
DivTagIndex := strings.Index(a.HTML, "<div")