xoofx / xoofx/markdig

Problem with some (possible malformed tables)

Open
#75 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
5.3k
Forks
510
Avg merge
8d 5h
Merged PRs (30d)
5

Description

Hi, great library, super impressed with the features, extensibility and performance. Will be switching my reddit client over to it for the next release.

I'm having a slight problem with some tables though, I tested against this post https://www.reddit.com/r/hearthstone/comments/5b5mlg/the_mean_prerelease_reveal_chart_all_currently/

you can see the markdown at: https://www.reddit.com/r/hearthstone/comments/5b5mlg/the_mean_prerelease_reveal_chart_all_currently.json under the self_text entry.

From what I can interpret the problem is that the table headers indicate 4 columns, but the actual rows have five, with the leftmost often being left empty, causing it to render only four columns. Is this an malformed edge-case that shouldn't be supported, a bug, or an option that can be toggled somewhere?

Thanks again!

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

Start with the referenced Reddit post and its JSON self_text entry, then reproduce how Markdig renders the table with four header columns and rows containing five cells. Determine whether the malformed-table behavior is expected, a bug, or an option, and verify the chosen behavior against the reported example.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, markdown
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.