Skip to content

News Articles: Rich Text Formatting Not Rendered on Public View#170

Merged
calebyhan merged 1 commit into
mainfrom
157/rich-text-formatting-news
Jun 12, 2026
Merged

News Articles: Rich Text Formatting Not Rendered on Public View#170
calebyhan merged 1 commit into
mainfrom
157/rich-text-formatting-news

Conversation

@calebyhan

Copy link
Copy Markdown
Contributor

News articles are authored using a rich text editor that supports headings, bullet lists, numbered lists, and blockquotes. However, the public-facing article view (/news/[id]) renders the stored HTML through an HtmlContent component with className="prose max-w-none". The prose class requires the @tailwindcss/typography plugin, which is not installed — so all formatting is visually stripped and the content displays as unstyled plain text.

Changes:

  • Installed @tailwindcss/typography
  • Registered it in tailwind.config.ts:66 alongside the existing tailwindcss-animate plugin

Closes #157

@github-actions

github-actions Bot commented Jun 6, 2026

Copy link
Copy Markdown

Test Results

570 tests  ±0   570 ✅ ±0   47s ⏱️ ±0s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit 86e2d82. ± Comparison against base commit 4b94aae.

@MasonMines2006 MasonMines2006 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@calebyhan calebyhan merged commit 63e9ef6 into main Jun 12, 2026
3 checks passed
@calebyhan calebyhan deleted the 157/rich-text-formatting-news branch June 12, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

News Articles: Rich Text Formatting Not Rendered on Public View

2 participants