- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for tSpecialTagEnd (0.12 sec)
-
src/html/template/transition.go
elementTitle: []byte("title"), } var ( specialTagEndPrefix = []byte("</") tagEndSeparators = []byte("> \t\n\f/") ) // tSpecialTagEnd is the context transition function for raw text and RCDATA // element states. func tSpecialTagEnd(c context, s []byte) (context, int) { if c.element != elementNone { // script end tags ("</script") within script literals are ignored, so that
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 19:54:31 UTC 2024 - 18.2K bytes - Viewed (0) -
src/html/template/escape.go
// s, then returns the context after those tokens and the unprocessed suffix. func contextAfterText(c context, s []byte) (context, int) { if c.delim == delimNone { c1, i := tSpecialTagEnd(c, s) if i == 0 { // A special end tag (`</script>`) has been seen and // all content preceding it has been consumed. return c1, 0 } // Consider all content up to any end tag.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 02 15:18:39 UTC 2023 - 32.4K bytes - Viewed (0)