]> Cypherpunks.ru repositories - gostls13.git/commit
go/doc/comment: support links in lists in comments
authorBen Sarah Golightly <golightly.ben@googlemail.com>
Wed, 29 Jun 2022 18:42:46 +0000 (19:42 +0100)
committerGopher Robot <gobot@golang.org>
Thu, 30 Jun 2022 21:57:02 +0000 (21:57 +0000)
commitaad9382e590265efb5e5fa3591c30486dcf215e0
tree0faadb7f2c4499c3af88d53e1745a075018e5496
parentaf725f42864c8fb56afcf3ba76d2df7d372534e4
go/doc/comment: support links in lists in comments

The proposed (#51082) new go doc comment additions supports lists,
links, and doc links, but does not support links and doc links inside
lists, so implemnent this.

Fixes #53610

Change-Id: I4fa17d204fc9efa8f3633133e4a49e56cf1aa9bc
Reviewed-on: https://go-review.googlesource.com/c/go/+/415174
Reviewed-by: Ben Golightly <golightly.ben@googlemail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
src/go/doc/comment/parse.go
src/go/doc/comment/testdata/linklist.txt [new file with mode: 0644]
src/go/doc/comment/testdata/linklist2.txt [new file with mode: 0644]
src/go/doc/comment/testdata/linklist3.txt [new file with mode: 0644]
src/go/doc/comment/testdata/linklist4.txt [new file with mode: 0644]