diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-23 16:29:53 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-23 16:29:53 +0800 |
commit | 001a8e564d07088e7a8f0c32db1b33170e0a2e0c (patch) | |
tree | a627cd592e2af5a6e3b15a067c5e2c19fb3b7344 /tmpl.go | |
parent | Note the JS solver is extra slow (diff) | |
download | powxy-001a8e564d07088e7a8f0c32db1b33170e0a2e0c.tar.gz powxy-001a8e564d07088e7a8f0c32db1b33170e0a2e0c.tar.zst powxy-001a8e564d07088e7a8f0c32db1b33170e0a2e0c.zip |
Remove extra newlines from tmpl and csolver
Diffstat (limited to 'tmpl.go')
-rw-r--r-- | tmpl.go | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -13,8 +13,7 @@ var tmpl *template.Template func init() { var err error - tmpl, err = template.New("powxy").Parse(` -<!DOCTYPE html> + tmpl, err = template.New("powxy").Parse(`<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> @@ -291,8 +290,7 @@ for the JavaScript code in this page. }); </script> </body> -</html> -`) +</html>`) if err != nil { log.Fatal(err) } |