Skip to content

Improve handing of tabs #41

Closed
Closed

Description

@mdeweerd

Describe the bug

According to hukkin/mdformat-gfm#23 (comment) there is an issue with the parser regarding how tabs are handled.

I do not know how exactly, but they produce a side effect in the mdformat-gfm plugin.

Reproduce the bug

Use mdformat with the mdformat-gfm plugin.

Some brackets are escaped even when using mdformat-gfm in cases where the closing bracket is followed with a tab.

Example file:
https://gist.githubusercontent.com/mdeweerd/177a260cc0deb83566ce85847e0bab71/raw/ba5cf9671a1a9d10ec03ddea9d00b6a2a2cf5365/Test%2520Markdown%2520with%2520tabs%2520and%2520tickboxes.md

List your environment

mdformat 0.7.13 (mdformat_gfm: 0.3.5, mdformat_tables: 0.4.1, mdformat_toc:
0.3.0)

Activity

  1. welcome commented on Mar 2, 2022

    @welcome

    Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗

    If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.

    If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).

    Welcome to the EBP community! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions