...

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

Documentation: go/doc/comment/testdata

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

View as plain text