Compare commits

..

2 commits

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) {
makeMediaHtml(content, 'video');
return makeMediaHtml(content, 'video');
}
});
@ -128,7 +128,7 @@
return htmlToBBCode(element, content, 'audio');
},
html: function (token, attrs, content) {
makeMediaHtml(content, 'audio');
return makeMediaHtml(content, 'audio');
}
});