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

Incorrect source position mapping when blockquotes are involved #21

Open
Knagis opened this issue Feb 7, 2015 · 0 comments
Open

Incorrect source position mapping when blockquotes are involved #21

Knagis opened this issue Feb 7, 2015 · 0 comments
Labels

Comments

@Knagis
Copy link
Owner

Knagis commented Feb 7, 2015

>>*foo
 >  >bar*

Both the paragraph and emphasis nodes (also the inner blockquote) will include the > characters from the second line in their contents. This is incorrect, but the fix would require that the source position mapping is stored as a list, instead of two integers.

The solution would probably require tracking of positions in each block that are taken by the prefixes so that for any child blocks or inlines these positions could be subtracted from the single position/length pair dividing it into multiple.

For now the intention is to leave it as is and revisit this issue if there are enough actual use cases for it.

@Knagis Knagis added the wontfix label Feb 7, 2015
@Knagis Knagis mentioned this issue Dec 24, 2015
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant