google / google/google-java-format

Link lines longer than 100 chars are malformed in ///

オープン
#1,369 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
6.2k
フォーク
937
平均マージ
6分
マージ済み PR(30日)
3

説明

The first line illustrates a 100 character long line

The following are a markdown link line of 100 characters, and the next the same of 101 characters.

```
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
/// [Design-doc](8901234567890123456789012345678901234567890123456789012345678901234567890123456789)
/// [Design-doc](89012345678901234567890123456789012345678901234567890123456789012345678901234567890)
```

The first is maintained through the formatter

The second is malformed by moving the link to a new line prefixed by `//`

```
/// [Design-doc](8901234567890123456789012345678901234567890123456789012345678901234567890123456789)
///
// [Design-doc](89012345678901234567890123456789012345678901234567890123456789012345678901234567890)
```

It'll do this regaurdless of `///` comments before or after, so it can result in a `//` line in the middle of `///` ones

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。