allow markdown extensions in import form

This commit is contained in:
Rob Loranger 2019-08-21 15:42:48 -07:00
parent cbc9c6725a
commit 7fb3c4cafe
No known key found for this signature in database
GPG Key ID: D6F1633A4F0903B8
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
<div class="formContainer"> <div class="formContainer">
<form id="importPosts" class="import" enctype="multipart/form-data" action="/api/me/import" method="POST"> <form id="importPosts" class="import" enctype="multipart/form-data" action="/api/me/import" method="POST">
<label for="file" hidden>Browse files to upload</label> <label for="file" hidden>Browse files to upload</label>
<input class="fileInput" name="files" type="file" multiple accept="text/plain"/> <input class="fileInput" name="files" type="file" multiple accept="text/markdown, text/plain"/>
<br /> <br />
<label for="collection">Select a blog to import the posts under.</label> <label for="collection">Select a blog to import the posts under.</label>
<select name="collection"> <select name="collection">