mirror of
				https://github.com/Frooodle/Stirling-PDF.git
				synced 2025-10-25 11:17:28 +02:00 
			
		
		
		
	Restricting file input to .md files for Markdown to PDF conversion (#2219)
Co-authored-by: Harshad Marathe <harshad@DESKTOP-1MNKUHA>
This commit is contained in:
		
							parent
							
								
									0dd4456ae8
								
							
						
					
					
						commit
						df6af8766f
					
				| @ -18,7 +18,7 @@ | ||||
|                 <span class="tool-header-text" th:text="#{MarkdownToPDF.header}"></span> | ||||
|               </div> | ||||
|               <form method="post" enctype="multipart/form-data" th:action="@{'/api/v1/convert/markdown/pdf'}"> | ||||
|                 <div th:replace="~{fragments/common :: fileSelector(name='fileInput', multipleInputsForSingleRequest=false, accept='text/markdown')}"></div> | ||||
|                 <div th:replace="~{fragments/common :: fileSelector(name='fileInput', multipleInputsForSingleRequest=false, accept='.md')}"></div> | ||||
|                 <button type="submit" id="submitBtn" class="btn btn-primary" th:text="#{MarkdownToPDF.submit}"></button> | ||||
|               </form> | ||||
|               <p class="mt-3" th:text="#{MarkdownToPDF.help}"></p> | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user