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

View file

@ -12,7 +12,7 @@
<div class="formContainer">
<form id="importPosts" class="import" enctype="multipart/form-data" action="/api/me/import" method="POST">
<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 />
<label for="collection">Select a blog to import the posts under.</label>
<select name="collection">