Skip to content

Fix newline not rendered in image alt attribute#775

Merged
puzrin merged 1 commit intomarkdown-it:masterfrom
hukkin:fix-image-newline
Apr 16, 2021
Merged

Fix newline not rendered in image alt attribute#775
puzrin merged 1 commit intomarkdown-it:masterfrom
hukkin:fix-image-newline

Conversation

@hukkin
Copy link
Contributor

@hukkin hukkin commented Apr 15, 2021

Newlines in image description should be rendered in img "alt" attribute. This is in line with how https://spec.commonmark.org/dingus/ renders it.

@puzrin puzrin merged commit 28d9ad8 into markdown-it:master Apr 16, 2021
@hukkin hukkin deleted the fix-image-newline branch April 16, 2021 12:17
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

Successfully merging this pull request may close these issues.

3 participants