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 1
1
- 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
5
5
notes :
6
6
- Rename variables that use python built-in names, e.g.
7
7
- ` max` -> `maximum`
Original file line number Diff line number Diff line change @@ -192,6 +192,8 @@ def renderInlineAsText(
192
192
elif token .type == "image" :
193
193
assert token .children is not None
194
194
result += self .renderInlineAsText (token .children , options , env )
195
+ elif token .type == "softbreak" :
196
+ result += "\n "
195
197
196
198
return result
197
199
Original file line number Diff line number Diff line change @@ -630,6 +630,15 @@ baz</p>
630
630
</blockquote >
631
631
.
632
632
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
+
633
642
Issue #772. Header rule should not interfere with html tags.
634
643
.
635
644
<!--
You can’t perform that action at this time.
0 commit comments