Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
vsch committed Apr 30, 2023
2 parents 5157b15 + d58e370 commit 5f1c2b1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ private void processImg(Element element, HtmlNodeConverterContext context, HtmlM
}
}

if (emoji != null) {
if (emoji != null && emoji.shortcut != null) {
out.append(':').append(emoji.shortcut).append(':');
} else {
LinkConversion conv = myHtmlConverterOptions.extInlineImage;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1911,3 +1911,13 @@ Issue [#357, HTML to markdown and removed nested list]
[#353, How to self modify parse method when htmltomarkdown]: https://github.com/vsch/flexmark-java/issues/353
[#357, HTML to markdown and removed nested list]: https://github.com/vsch/flexmark-java/issues/357


## Issue 548

Issue #548 , Images with emoji-filenames break the emoji handling code if they have no corresponding shortcut

```````````````````````````````` example Issue 548: 1
![](1f9a0.png)
.
<img src="1f9a0.png" />
````````````````````````````````

0 comments on commit 5f1c2b1

Please sign in to comment.