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

Blockquotes need too much indention to be included into a list #304

Closed
RobertDober opened this issue Nov 8, 2019 · 1 comment
Closed

Comments

@RobertDober
Copy link
Collaborator

This is the followup of #298

Earmark needs a blockquote to be indented 4 spaces to be inside the list

iex(16)> as_html!("- a\n   > b")
"<ul>\n<li>a\n</li>\n</ul>\n<blockquote><p>b</p>\n</blockquote>\n"
iex(17)> as_html!("- a\n    > b")
"<ul>\n<li><p>a</p>\n<blockquote><p>b</p>\n</blockquote>\n</li>\n</ul>\n"

This is not conform to spec, https://babelmark.github.io/?text=-+li%0A++%3E+b

This might be fixed with #249

@RobertDober
Copy link
Collaborator Author

Closed with #305, but beware of #304, sorry I need time I do not have to get the list processing up to GFM standards. 😭

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