Merge pull request #450 from writefreely/fix-markdown-import-safari

Accept general text/* files on post import
pull/456/head
Matt Baer 4 years ago committed by GitHub
commit c06a739f9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      templates/user/import.tmpl

@ -29,7 +29,7 @@
<div class="formContainer">
<form id="importPosts" class="prominent" enctype="multipart/form-data" action="/api/me/import" method="POST">
<label>Select some files to import:
<input id="fileInput" class="fileInput" name="files" type="file" multiple accept="text/markdown, text/plain"/>
<input id="fileInput" class="fileInput" name="files" type="file" multiple accept="text/*"/>
</label>
<input id="fileDates" name="fileDates" hidden/>
<label>

Loading…
Cancel
Save