mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Treat markdown as text in editor
closes #857 - markdown is inserted into codemirror with .text() not .html()
This commit is contained in:
parent
086d9677c0
commit
fc881229f4
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@
|
|||
this.addSubview(new PublishBar({el: "#publish-bar", model: this.model})).render();
|
||||
|
||||
this.$('#entry-title').val(this.model.get('title')).focus();
|
||||
this.$('#entry-markdown').html(this.model.get('markdown'));
|
||||
this.$('#entry-markdown').text(this.model.get('markdown'));
|
||||
|
||||
this.initMarkdown();
|
||||
this.renderPreview();
|
||||
|
|
Loading…
Add table
Reference in a new issue