5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-05 04:31:26 +08:00

Merge pull request #72 from qaisjp/patch-1

Fix HTML spellings
This commit is contained in:
Lea Anthony 2019-05-01 20:53:28 +10:00 committed by GitHub
commit 67a1f23b13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ It is recommended at this stage to read the comprehensive documentation at [http
* Who is this project aimed at? * Who is this project aimed at?
Go programmers who want to bundle an HMTL/JS/CSS frontend with their applications, without resorting to creating a server and opening a browser to view it. Go programmers who want to bundle an HTML/JS/CSS frontend with their applications, without resorting to creating a server and opening a browser to view it.
* What's with the name? * What's with the name?

View File

@ -41,7 +41,7 @@ func (a *AppConfig) merge(in *AppConfig) error {
a.HTML = strings.TrimSpace(inlineHTML) a.HTML = strings.TrimSpace(inlineHTML)
// Deduce whether this is a full html page or a fragment // 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 // tag exists and is located before the first div tag
HTMLTagIndex := strings.Index(a.HTML, "<html") HTMLTagIndex := strings.Index(a.HTML, "<html")
DivTagIndex := strings.Index(a.HTML, "<div") DivTagIndex := strings.Index(a.HTML, "<div")