gofr-dev / gofr-dev/website

Changelog page renders markdown tables as plain pipe-text

Open
#221 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
44
Forks
43
Avg merge
1h 18m
Merged PRs (30d)
1

Description

## Bug

On https://gofr.dev/changelog#v1.56.7, the markdown tables from the GitHub release notes render as plain text — each table row appears as a literal pipe-delimited paragraph:

```
| Endpoint | v1.56.6 | v1.56.7 | Δ |
|-----------|--------:|---------:|-------:|
| plaintext | 89,835 | 133,304 | +48 % |
```

The same release notes render correctly as tables on the GitHub release page (https://github.com/gofr-dev/gofr/releases/tag/v1.56.7), so the release markdown itself is valid GFM.

## Root cause

The changelog page uses a hand-rolled markdown renderer (`RenderMarkdown` in `src/app/changelog/page.jsx`) that handles code blocks, `###` headers, bullets, and inline bold/code — but has
no branch for GFM tables. Table rows fall through to the catch-all "regular paragraph" branch, so each row becomes its own `

` of raw pipe-text.

Blockquotes (`> ...`) are also unhandled and render with a literal `>` — the v1.56.7 notes contain one ("Note on tracing defaults").

This was latent until now: v1.56.7 is the first release whose notes contain tables.

## Expected

Tables and blockquotes in release notes render as proper `

`/`
` elements, matching the GitHub rendering (including the `---:` right-alignment used by the benchmark
columns).

## Screenshot

Image

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.