Skip to content

Changelog page renders markdown tables as plain pipe-text #221

Description

@AnanteshG

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 <p> 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 <table>/<blockquote> elements, matching the GitHub rendering (including the ---: right-alignment used by the benchmark
columns).

Screenshot

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions