Remove whitespace around post body in edit template.
Extra spaces actually get added to a post when activating a WMD editor which can get saved into the post if you click update.
This commit is contained in:
@@ -61,9 +61,7 @@
|
||||
<input type="text" class="edit-post-title" name="title" value="${"<%-title %>"}" placeholder="Title">
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="edit-post-body" name="body">
|
||||
${"<%- body %>"}
|
||||
</div>
|
||||
<div class="edit-post-body" name="body">${"<%- body %>"}</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<input type="text" class="edit-post-tags" name="tags" placeholder="Tags" value="${"<%- tags %>"}">
|
||||
|
||||
Reference in New Issue
Block a user