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

Image tags not well formed (HTML5 spec) #35

Closed
bengourley opened this issue Nov 2, 2011 · 0 comments
Closed

Image tags not well formed (HTML5 spec) #35

bengourley opened this issue Nov 2, 2011 · 0 comments

Comments

@bengourley
Copy link

markdown.toHTML('![image](/path/to/image.jpg)'); renders <p><img alt="image" src="/path/to/image.jpg"></img></p> which is invalid html5. Empty image tags should be self closing.

@ashb ashb closed this as completed in 1b74287 Mar 24, 2012
snowyu pushed a commit to snowyu/markdown-js that referenced this issue Mar 27, 2012
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