Skip to content

Bug fix - blockquote that start with a space#108

Merged
andysteadbbc merged 5 commits intomainfrom
bug-fix-blockquote-spaces
Feb 4, 2026
Merged

Bug fix - blockquote that start with a space#108
andysteadbbc merged 5 commits intomainfrom
bug-fix-blockquote-spaces

Conversation

@andysteadbbc
Copy link
Contributor

🧐 What?

Fixed a bug for users who create blockquotes in markdown e.g.

> Hi
> This is my blockquote

The bug occurs when a user has a space as the first part of the blockquote e.g.

>
> Hi
> This is my blockquote

Reason is because it was previously looking for the tokens for the first element in the blockquote tokens[0].tokens but space types do not have tokens so this broke the code

…kens which breaks the `tokens[0].tokens` logic.

Also when a standard blockquote is found it uses Marked standard renderer to convert it to html
@andysteadbbc andysteadbbc requested a review from a team as a code owner February 4, 2026 14:52
@andysteadbbc andysteadbbc merged commit 4425592 into main Feb 4, 2026
4 checks passed
@andysteadbbc andysteadbbc deleted the bug-fix-blockquote-spaces branch February 4, 2026 15:01
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.

2 participants