Compare commits
No commits in common. "0a17f270b2a8c26bc16dc2a12004256fb40993b0" and "311412e7554429419803b0ce0c9da0c00df60af3" have entirely different histories.
0a17f270b2
...
311412e755
1 changed files with 3 additions and 3 deletions
|
@ -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');
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue