Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for parseAutoHTTP (0.1 sec)

  1. src/cmd/vendor/rsc.io/markdown/link.go

    	case 'h':
    		var n int
    		if strings.HasPrefix(s[i:], "https://") {
    			n = len("https://")
    		} else if strings.HasPrefix(s[i:], "http://") {
    			n = len("http://")
    		} else {
    			return
    		}
    		return p.parseAutoHTTP(s[i:i+n], s, i, i+n, i+n+1, vd)
    	case 'w':
    		if !strings.HasPrefix(s[i:], "www.") {
    			return
    		}
    		// GitHub Flavored Markdown says to use http://,
    		// but it's not 1985 anymore. We live in the https:// future
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top