mirror of
https://github.com/simon987/nyaa.git
synced 2025-12-16 00:09:05 +00:00
Move to markdown-it, render markdown in DOMContentLoaded
No more separate <script>s for comments Adds a link to a GFM cheatsheet on markdown form Spaces to tabs on "markdownEditors" DOMContentLoaded
This commit is contained in:
@@ -168,7 +168,7 @@ class EditForm(FlaskForm):
|
||||
information = StringField('Information', [
|
||||
Length(max=255, message='Information must be at most %(max)d characters long.')
|
||||
])
|
||||
description = TextAreaField('Description (markdown supported)', [
|
||||
description = TextAreaField('Description', [
|
||||
Length(max=10 * 1024, message='Description must be at most %(max)d characters long.')
|
||||
])
|
||||
|
||||
@@ -222,7 +222,7 @@ class UploadForm(FlaskForm):
|
||||
information = StringField('Information', [
|
||||
Length(max=255, message='Information must be at most %(max)d characters long.')
|
||||
])
|
||||
description = TextAreaField('Description (markdown supported)', [
|
||||
description = TextAreaField('Description', [
|
||||
Length(max=10 * 1024, message='Description must be at most %(max)d characters long.')
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user