-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
html with line breaks #4
Comments
It is easily fixable. It works that way because marked automatically encodes any angle brackets you have, but it needs to be able to distinguish them from brackets in html tags. An easy way to do it was to require that a tag be on a single line. I'm not sure of the behavior of the original markdown here. I think I'll revise it a bit for some smarter behavior. |
That should allow for multiline tags. It passes all tests, but I'm still going to wait a bit before pushing it to npm. |
Great! Thanks for jumping on it so quickly :) |
Disallow hashtags starting with a number
I have run across a slight problem with marked when trying to render html with line breaks between the attributes:
I know this is not a normal use case but as far as I know it is valid html, I am willing to submit a patch if I can get some pointers on where/ how to modify this behavior.
The text was updated successfully, but these errors were encountered: