QuantumBadger / QuantumBadger/RedReader

Markdown renderer incorrectly handles single line breaks

Open
#1,366 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
2.7k
Forks
527
Avg merge
20d 10h
Merged PRs (30d)
3

Description

Under typical markdown, single line breaks should be treated as whitespace (and combined with adjacent whitespace into a single space). However, in many places, RedReader simply eliminates single line breaks, leaving no spaces between words.

I noticed this issue on this post: https://reddit.com/r/talesfromtechsupport/comments/1uo1f3f/the_reports_are_all_wiggly/, which does render correctly in both the old and new Reddit websites.

From what I can tell, this only effects some posts (although this may be related to how the post was created, since Reddit's fancy editor might generate extra characters that allow RedReader to handle the markdown correctly). I haven't seen an example of this issue in comments, so they may be unaffected.

Contributor guide

Open the contributing guide

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.

Research direction

Reproduce the problem in RedReader with the linked Reddit post, comparing its rendering with the old and new Reddit websites. Trace the Markdown rendering path for posts and verify whether single line breaks become whitespace without affecting comments. Done means affected posts display separated words correctly, including adjacent whitespace handling.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.