Text file src/go/doc/comment/testdata/link2.txt

     1  -- input --
     2  The Go home page is https://go.dev/.
     3  It used to be https://golang.org.
     4  https:// is not a link.
     5  Nor is https://
     6  https://☺ is not a link.
     7  https://:80 is not a link.
     8  
     9  -- gofmt --
    10  The Go home page is https://go.dev/.
    11  It used to be https://golang.org.
    12  https:// is not a link.
    13  Nor is https://
    14  https://☺ is not a link.
    15  https://:80 is not a link.
    16  
    17  -- text --
    18  The Go home page is https://go.dev/. It used to be https://golang.org. https://
    19  is not a link. Nor is https:// https://☺ is not a link. https://:80 is not a
    20  link.
    21  
    22  -- markdown --
    23  The Go home page is [https://go.dev/](https://go.dev/). It used to be [https://golang.org](https://golang.org). https:// is not a link. Nor is https:// https://☺ is not a link. https://:80 is not a link.
    24  
    25  -- html --
    26  <p>The Go home page is <a href="https://go.dev/">https://go.dev/</a>.
    27  It used to be <a href="https://golang.org">https://golang.org</a>.
    28  https:// is not a link.
    29  Nor is https://
    30  https://☺ is not a link.
    31  https://:80 is not a link.
    32  

View as plain text