This commit is contained in:
yflory
2017-07-11 12:50:16 +02:00
parent 112c4c85e5
commit e732284845
2 changed files with 10 additions and 6 deletions

View File

@@ -369,7 +369,7 @@ define([
body: $iframe.find('body'),
onUploaded: function (ev, data) {
//var cursor = editor.getCursor();
var cleanName = data.name.replace(/[\[\]]/g, '');
//var cleanName = data.name.replace(/[\[\]]/g, '');
//var text = '!['+cleanName+']('+data.url+')';
var parsed = Cryptpad.parsePadUrl(data.url);
var hexFileName = Cryptpad.base64ToHex(parsed.hashData.channel);