|
@@ -3331,7 +3331,7 @@ showdown.subParser('makehtml.images', function (text, options, globals) {
|
|
url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);
|
|
url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);
|
|
var result = '<img src="' + url + '" alt="' + altText + '"';
|
|
var result = '<img src="' + url + '" alt="' + altText + '"';
|
|
|
|
|
|
- if (title) {
|
|
|
|
|
|
+ if (title && showdown.helper.isString(title)) {
|
|
title = title
|
|
title = title
|
|
.replace(/"/g, '"')
|
|
.replace(/"/g, '"')
|
|
//title = showdown.helper.escapeCharacters(title, '*_', false);
|
|
//title = showdown.helper.escapeCharacters(title, '*_', false);
|