bump: 3.0.2
This commit is contained in:
parent
bf593a77ad
commit
2c9fdbe7f9
5 changed files with 25 additions and 14 deletions
|
|
@ -3008,7 +3008,10 @@ renderer.link = function (href, title, text) {
|
|||
} else {
|
||||
blank = ' target="_blank"';
|
||||
}
|
||||
return ("<a href=\"" + href + "\" title=\"" + (title || text) + "\"" + blank + ">" + text + "</a>")
|
||||
if (title) {
|
||||
title = " title=\"" + title + "\"";
|
||||
}
|
||||
return ("<a href=\"" + href + "\"" + title + blank + ">" + text + "</a>")
|
||||
};
|
||||
renderer.paragraph = function (text) {
|
||||
if (/^!>/.test(text)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue