diff --git a/static/mrdoc/mrdoc.editor.js b/static/mrdoc/mrdoc.editor.js index e045b15..640b08b 100644 --- a/static/mrdoc/mrdoc.editor.js +++ b/static/mrdoc/mrdoc.editor.js @@ -444,7 +444,7 @@ insertAttach = function(e){ if(editor_mode == 3){ // ice富文本编辑器 editor.addValue('' + '[附件]' + $(e).data('name') + '') }else{ - editor.insertValue("\n[【附件】"+ encodeURI($(e).data('name')) + "](/media/" + $(e).data('path') + ")"); + editor.insertValue("\n[【附件】"+ $(e).data('name') + "](/media/" + encodeURI($(e).data('path')) + ")"); } layer.closeAll();