diff --git a/js/imageupload.js b/js/imageupload.js index 5ee3bf9..ab15d20 100644 --- a/js/imageupload.js +++ b/js/imageupload.js @@ -36,7 +36,7 @@ $(function(){ imageCode = ''+filename+'\r\n'; break; case 'BBCode': - imageCode = '[img alt="'+filename+'" title="'+filename+'"]'+url+'[/img]\r\n'; + imageCode = '[img]'+url+'[/img]\r\n'; break; case 'Markdown': imageCode = '!['+filename+']('+url+' "'+filename+'")\r\n'; @@ -69,4 +69,4 @@ $(function(){ if (format == 'Raw' || format == 'Wysiwyg') format = 'Html'; return format; } -}); \ No newline at end of file +});