From: Mischa POSLAWSKY Date: Mon, 9 Jul 2018 22:53:35 +0000 (+0200) Subject: edit: support dashes in placeholder parameters X-Git-Tag: v3.5~12 X-Git-Url: http://git.shiar.net/minimedit.git/commitdiff_plain/4da4589ed31b5dee343e81c5fb0906161ea759bc edit: support dashes in placeholder parameters Fix date input. --- diff --git a/edit.js b/edit.js index a7d098c..a24fee8 100644 --- a/edit.js +++ b/edit.js @@ -126,7 +126,7 @@ if (pagebody) { editlink.onclick = undefined; pagebody.setAttribute('contenteditable', true); pagebody.innerHTML = pagebody.innerHTML - .replace(/[^]*?/g, '$1'); + .replace(/[^]*?/g, '$1'); CKEDITOR.inline(pagebody); document.body.className = 'edit'; return false;