Skip to content

Commit

Permalink
🐛 fixed otale#448
Browse files Browse the repository at this point in the history
  • Loading branch information
hellokaton committed Oct 15, 2018
1 parent 440baaf commit 74da260
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/com/tale/utils/TaleUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ public void setAttributes(Node node, String tagName, Map<String, String> attribu
if (node instanceof Link) {
attributes.put("target", "_blank");
}
if(node instanceof org.commonmark.node.Image){
attributes.put("title", attributes.get("alt"));
}
}
}

Expand Down

0 comments on commit 74da260

Please sign in to comment.