"
+ _STR_TD_50 = []byte(``) // ` | `
)
func (c *switchButtonImpl) Render(w writer) {
diff --git a/gwu/textbox_pwbox.go b/gwu/textbox_pwbox.go
index 34c8c66..71e22e1 100644
--- a/gwu/textbox_pwbox.go
+++ b/gwu/textbox_pwbox.go
@@ -199,12 +199,12 @@ func (c *textBoxImpl) Render(w writer) {
}
var (
- _STR_INPUT_OP = []byte("") // "\"/>"
+ _STR_INPUT_OP = []byte(``) // `"/>`
)
// renderInput renders the component as an input HTML tag.
@@ -229,8 +229,8 @@ func (c *textBoxImpl) renderInput(w writer) {
var (
_STR_TEXTAREA_OP = []byte("") // ""
)
diff --git a/gwu/window.go b/gwu/window.go
index b4bc2bd..0b4f0b0 100644
--- a/gwu/window.go
+++ b/gwu/window.go
@@ -149,17 +149,17 @@ func (c *windowImpl) Render(w writer) {
func (win *windowImpl) RenderWin(w writer, s Server) {
// We could optimize this (store byte slices of static strings)
// but windows are rendered "so rarely"...
- w.Writes("")
+ w.Writes(``)
w.Writees(win.text)
- w.Writess("")
+ w.Writes(`" rel="stylesheet" type="text/css">`)
win.renderDynJs(w, s)
- w.Writess("")
+ w.Writess(``)
w.Writess(win.heads...)
w.Writes("")
diff --git a/gwu/writer.go b/gwu/writer.go
index d784d25..4510628 100644
--- a/gwu/writer.go
+++ b/gwu/writer.go
@@ -32,14 +32,14 @@ const _CACHED_INTS = 32
// Render methods use these to avoid array allocations
// when converting strings to byte slices in order to write them.
var (
- _STR_SPACE = []byte(" ") // " " (space string)
- _STR_QUOTE = []byte("\"") // "\"" (quotation mark)
- _STR_EQ_QUOTE = []byte("=\"") // "=\"" (equal sign and a quotation mark)
- _STR_COMMA = []byte(",") // "," (comma string)
- _STR_COLON = []byte(":") // ":" (colon string)
- _STR_SEMICOL = []byte(";") // ";" (semicolon string)
- _STR_LT = []byte("<") // "<" (less than string)
- _STR_GT = []byte(">") // ">" (greater than string)
+ _STR_SPACE = []byte(" ") // " " (space string)
+ _STR_QUOTE = []byte(`"`) // `"` (quotation mark)
+ _STR_EQ_QUOTE = []byte(`="`) // `="` (equal sign and a quotation mark)
+ _STR_COMMA = []byte(",") // "," (comma string)
+ _STR_COLON = []byte(":") // ":" (colon string)
+ _STR_SEMICOL = []byte(";") // ";" (semicolon string)
+ _STR_LT = []byte("<") // "<" (less than string)
+ _STR_GT = []byte(">") // ">" (greater than string)
_STR_SPAN_OP = []byte("") // ""
@@ -50,9 +50,9 @@ var (
_STR_TD_OP = []byte(" | |