You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The RFC section hyperlinking logic appears to be confused by a newline in a doc comment. For example, this works:
// A PrefixInformation is a a Prefix Information option, as described in RFC 4861, Section 4.6.1.typePrefixInformationstruct {
PrefixLengthuint8OnLinkboolAutonomousAddressConfigurationboolValidLifetime time.DurationPreferredLifetime time.DurationPrefix netip.Addr
}
This does not:
// A RouteInformation is a Route Information option, as described in RFC 4191,// Section 2.3.typeRouteInformationstruct {
PrefixLengthuint8PreferencePreferenceRouteLifetime time.DurationPrefix netip.Addr
}
Note that the RFC section is word wrapped to a new line in the latter case.
The text was updated successfully, but these errors were encountered:
What is the URL of the page with the issue?
https://pkg.go.dev/github.com/mdlayher/ndp#RouteInformation
What is your user agent?
n/a, server rendering issue
Screenshot
What did you do?
Navigated to package docs for my NDP package.
What did you expect to see?
RFC 4191, Section 2.3 presented as a full hyperlink as is done in https://pkg.go.dev/github.com/mdlayher/ndp#PrefixInformation.
What did you see instead?
The RFC section hyperlinking logic appears to be confused by a newline in a doc comment. For example, this works:
This does not:
Note that the RFC section is word wrapped to a new line in the latter case.
The text was updated successfully, but these errors were encountered: