Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested lists behave strangely when using spaces #54

Closed
karelbilek opened this issue Feb 26, 2020 · 3 comments
Closed

Nested lists behave strangely when using spaces #54

karelbilek opened this issue Feb 26, 2020 · 3 comments

Comments

@karelbilek
Copy link

Another case of nested lists behaving strange. I am using spaces, not tabs.

Input:

- we
  - will
    - we
      - will
        - rock
          - you
            - we
              - will
                - we
                  - will
                    - rock
                      - you

Output - list randomly collapsed

-       we
        -       will
        -       we
                -       will
                -       rock
                        -       you
                        -       we
                                -       will
                                -       we
                                        -       will
                                        -       rock
                                                -       you
@karelbilek
Copy link
Author

Perhaps related to russross/blackfriday#329

@karelbilek
Copy link
Author

Yep, it's definitely the blackfriday issue. And seeing it's a 2017 issue, it seems very hard to fix. (Trivially switching 4 to 2 in blackfriday/block.go causes other parsing issues, since Markdown is hard to parse. :((( )

@karelbilek
Copy link
Author

#56

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

No branches or pull requests

1 participant