Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#1,369 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
java
Domain
tooling

Research direction

Start by reproducing the formatter output with the 100- and 101-character markdown links in /// comments shown in the issue. Trace the formatter's comment line-wrapping path, then add coverage for this boundary case if the relevant test location is found. Done means the 101-character link remains intact and all surrounding lines retain the /// prefix.

Written by the indexing model from the issue text.

Description

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

Dominant language
Java
Stars
6.2k
Forks
936
Avg merge
6m
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from google/google-java-format

All issues in google/google-java-format

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.