mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 00:59:34 +08:00
Fix HTML spelling in app_config.go
This commit is contained in:
parent
ac203ec931
commit
5aa5ad8ad3
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user