- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for delimEnds (0.21 sec)
-
src/html/template/html.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 02 19:42:28 UTC 2023 - 7.3K bytes - Viewed (0) -
src/html/template/escape.go
// works >90% of the time. e.output[t.Name()] = c return e.escapeListConditionally(c, t.Tree.Root, filter) } // delimEnds maps each delim to a string of characters that terminate it. var delimEnds = [...]string{ delimDoubleQuote: `"`, delimSingleQuote: "'", // Determined empirically by running the below in various browsers. // var div = document.createElement("DIV");
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 02 15:18:39 UTC 2023 - 32.4K bytes - Viewed (0) -
src/text/template/parse/lex.go
if x := strings.Index(l.input[l.pos:], l.leftDelim); x >= 0 { if x > 0 { l.pos += Pos(x) // Do we trim any trailing space? trimLength := Pos(0) delimEnd := l.pos + Pos(len(l.leftDelim)) if hasLeftTrimMarker(l.input[delimEnd:]) { trimLength = rightTrimLength(l.input[l.start:l.pos]) } l.pos -= trimLength l.line += strings.Count(l.input[l.start:l.pos], "\n") i := l.thisItem(itemText)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 04 22:36:12 UTC 2022 - 18.1K bytes - Viewed (0)