jaywcjlove / jaywcjlove/html-to-markdown-cli

Table with embbed images will be converted to a looooooong head table with many blanks

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
121
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Bug found in version: 2.1.0

Input:
`

Table with images

name

pic

jack

`

Output(Hard to show, so I use the screenshot):

![Image](https://github.com/user-attachments/assets/9e4bc6fa-c365-41a1-bbcb-723e368b588f)

This long head table in markdown will make some of the markdown editor stuck, which may lead a crash.

Wish it to be fixed, thanks.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the conversion with the provided HTML table containing an embedded base64 image and compare the generated Markdown with the screenshot. Trace the table conversion entry point used by the CLI; done means the image does not produce a very long header with blank cells and the resulting Markdown no longer causes an editor to become stuck or crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.