Skip to content

Commit b654e1c

Browse files
authored
Don't strip whitespace.
preserve whitespace in accordance with #169.
1 parent 860e8c4 commit b654e1c

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

sopy/spoiler/forms.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from flask_wtf import Form
2+
from wtforms import TextAreaField
23
from wtforms.validators import InputRequired
3-
from sopy.ext.forms import StripTextAreaField
4-
54

65
class SpoilerForm(Form):
7-
message = StripTextAreaField(validators=[InputRequired()])
6+
message = TextAreaField(validators=[InputRequired()])

0 commit comments

Comments
 (0)