Skip to content

Handle case with slow markdown parsing. - #419

Open
olorin99 wants to merge 1 commit into
mainfrom
fix_markdown_slow
Open

Handle case with slow markdown parsing.#419
olorin99 wants to merge 1 commit into
mainfrom
fix_markdown_slow

Conversation

@olorin99

@olorin99 olorin99 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Skip parsing post as markdown if content is too long and has no whitespace.

Handles cases as mentioned in https://kbin.earth/m/interstellar/t/3122793.
The post mentioned in the link has 42173 characters and no whitespace. I set the cutoff length to 10000 characters which I figure is plenty.

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.

1 participant