Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Quote lines get wrapped in increasing number of tags #183

Open
tjkohli opened this issue Jan 28, 2017 · 2 comments
Open

Quote lines get wrapped in increasing number of tags #183

tjkohli opened this issue Jan 28, 2017 · 2 comments
Labels

Comments

@tjkohli
Copy link

tjkohli commented Jan 28, 2017

Prerequisites

Description

image

So language-gfm seems wraps each quote/comment line in an additional tag.
So a quote with 50 lines means the last one is wrapped in 50 recursive tags.

My theme exposed this issue because it’s one of the only themes that uses opacity on the .syntax—comment class, so if opacity is 0.5 on the first line, the second line becomes 0.25, third is 0.125, ..etc until the lines disappear, because they’re being wrapped in more and more identical tags

Steps to Reproduce

  1. Create new file
  2. Assign language-gfm (GitHub Markdown)
  3. Type multiple lines beginning with ">"

Expected behavior:

Each line is wrapped in one appropriate level of tags.

Actual behavior:

Each line is wrapped in an incremental number of tags.

Reproduces how often:

100%

Versions

Atom 1.13.1 x64
macOS 10.12.3

Additional Information

This doesn't happen in the normal markdown language.

@50Wliu
Copy link
Contributor

50Wliu commented Jan 29, 2017

This doesn't happen in the normal markdown language.

I'm not sure what you mean by "normal", but I argue that this package is the more normal of the two as it is the one bundled by default :). Thanks for reporting.

@50Wliu 50Wliu added the bug label Jan 29, 2017
@tjkohli
Copy link
Author

tjkohli commented Jan 29, 2017

@50Wliu I wasn't referring to the "normalcy" of this package, but the "normalcy" of the markdown it is marketed for. This package calls itself "GitHub Flavored Markdown" while the other one is simply "Markdown."

I hope I was able to explain the difference in a way that made sense to you.

Please let me know if you have any other concerns about my post.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants