allow markdown extensions in import form

import-zips
Rob Loranger 5 years ago
parent cbc9c6725a
commit 7fb3c4cafe
No known key found for this signature in database
GPG Key ID: D6F1633A4F0903B8
  1. 2
      templates/user/import.tmpl

@ -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">

Loading…
Cancel
Save