Add space around preview button
This commit is contained in:
parent
9df50a426d
commit
e8fc11cbce
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@
|
|||
ret +=
|
||||
`</div></div><post><div class="content"><form method="post"><label>` +
|
||||
`<h3><input type="username" name="name" value="Anonymous" ${fake ? `value="${post.comments[post.comments.length - 1].author.replaceAll("\"", """)}"` : ''} required>: <input type="text" name="title" placeholder="Title" ${fake ? `value="${post.comments[post.comments.length - 1].title.replaceAll("\"", """)}"` : ''} required></h3>` +
|
||||
`<textarea name="content" placeholder="So basically, ..." required>${fake ? post.comments[post.comments.length - 1].content.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">") : ''}</textarea><br/><br/><button type="submit" name="fake" value="no">Submit</button><button type="submit" name="fake" value="yes">Preview</button>` +
|
||||
`<textarea name="content" placeholder="So basically, ..." required>${fake ? post.comments[post.comments.length - 1].content.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">") : ''}</textarea><br/><br/><button type="submit" name="fake" value="no">Submit</button> <button type="submit" name="fake" value="yes">Preview</button>` +
|
||||
`</label></form></div></post><div>`
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue