Skip to content

Conversation

notriddle
Copy link
Collaborator

Fixes #656

Martin1887 and others added 3 commits May 24, 2023 19:25
I’ve found this to be a very useful tool when looking at parse output.
This is similar to parser-map-event-print.rs, but it shows the events
using their debug representation and it avoids printing HTML.
@notriddle notriddle force-pushed the notriddle/issue-656 branch from c627ab3 to bd09010 Compare June 10, 2023 00:33
@Martin1887
Copy link
Collaborator

Thanks for your contribution! Test cases are great and your fix guided me to find the actual issue.

However, the actual fix is returning the actual offset from calc_indent (1 minus was returned), and your fix didn't take into account tabs, which must be taken into account.

@Martin1887 Martin1887 merged commit dc7b6ae into pulldown-cmark:master Jun 11, 2023
@notriddle notriddle deleted the notriddle/issue-656 branch June 11, 2023 12:53
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.

Indented table rendering as text
3 participants