Compare commits

..

No commits in common. "0a17f270b2a8c26bc16dc2a12004256fb40993b0" and "311412e7554429419803b0ce0c9da0c00df60af3" have entirely different histories.

View file

@ -17,7 +17,7 @@
}
function makeMediaHtml(url, mediatype) {
if (!isValidURL(url)) {
if (!isValidUrl(url)) {
return '';
}
return '<div class="media-' + mediatype + '">' +
@ -108,7 +108,7 @@
return htmlToBBCode(element, content, 'video');
},
html: function (token, attrs, content) {
return makeMediaHtml(content, 'video');
makeMediaHtml(content, 'video');
}
});
@ -128,7 +128,7 @@
return htmlToBBCode(element, content, 'audio');
},
html: function (token, attrs, content) {
return makeMediaHtml(content, 'audio');
makeMediaHtml(content, 'audio');
}
});