Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for tJS (0.03 sec)

  1. src/html/template/transition.go

    		// attrs: https://www.w3.org/TR/html5/index.html#attributes-1
    		c.urlPart = urlPartPreQuery
    	}
    	return c, len(s)
    }
    
    // tJS is the context transition function for the JS state.
    func tJS(c context, s []byte) (context, int) {
    	i := bytes.IndexAny(s, "\"`'/{}<-#")
    	if i == -1 {
    		// Entire input is non string, comment, regexp tokens.
    		c.jsCtx = nextJSCtx(s, c.jsCtx)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 19:54:31 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top