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

spans are not parsed as elements, but as text #362

Closed
eksperimental opened this issue Jun 25, 2020 · 1 comment
Closed

spans are not parsed as elements, but as text #362

eksperimental opened this issue Jun 25, 2020 · 1 comment

Comments

@eksperimental
Copy link
Contributor

iex(14)> Earmark.as_ast("<span>x</span>")                
{:ok, [{"p", [], ["<span>x</span>"]}], []}

iex(15)> Earmark.as_ast("<div>x</div>")  
{:ok, [{"div", [], ["x"], %{meta: %{verbatim: true}}}], []}
@RobertDober
Copy link
Collaborator

this is a doubleton to #357 but well spotted indeed.

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

2 participants