Add a trailing newline to wiki content so that markdeep formats it correctly as I type it.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3210 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2016-04-17 14:33:40 +00:00
parent 72544179c9
commit 49e757060f

View File

@ -82,7 +82,7 @@ function editPage(event) {
}
function textChanged() {
var preview = document.getElementById("preview");
preview.innerHTML = markdeep.format(gEditor.getValue(), true);
preview.innerHTML = markdeep.format(gEditor.getValue() + "\\n", false);
}
window.markdeepOptions = {mode: 'script'};
</script>