File tree Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 11- package : markdown-it/markdown-it
2- version : 12.0.5
3- commit : 3740146fc9c92ea15fdc6a358137ec7b68f05f4b
4- date : Apr 14 , 2021
2+ version : 12.0.6
3+ commit : df4607f1d4d4be7fdc32e71c04109aea8cc373fa
4+ date : Apr 16 , 2021
55 notes :
66 - Rename variables that use python built-in names, e.g.
77 - ` max` -> `maximum`
Original file line number Diff line number Diff line change @@ -192,6 +192,8 @@ def renderInlineAsText(
192192 elif token .type == "image" :
193193 assert token .children is not None
194194 result += self .renderInlineAsText (token .children , options , env )
195+ elif token .type == "softbreak" :
196+ result += "\n "
195197
196198 return result
197199
Original file line number Diff line number Diff line change @@ -630,6 +630,15 @@ baz</p>
630630</blockquote >
631631.
632632
633+ Newline in image description
634+ .
635+ There is a newline in this image 
637+ .
638+ <p >There is a newline in this image <img src="https://github.com/executablebooks/" alt="here
639+ it is" /></p >
640+ .
641+
633642Issue #772. Header rule should not interfere with html tags.
634643.
635644<!--
You can’t perform that action at this time.
0 commit comments