We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent baf5ec3 commit 8e50f81Copy full SHA for 8e50f81
flasgger/base.py
@@ -16,9 +16,9 @@
16
from flask.views import MethodView
17
from mistune import markdown
18
19
-NO_SANITIZER = lambda text: text
20
-BR_SANITIZER = lambda text: text.replace('\n', '<br/>') if text else text
21
-MK_SANITIZER = lambda text: Markup(markdown(text)) if text else text
+NO_SANITIZER = lambda text: text # noqa
+BR_SANITIZER = lambda text: text.replace('\n', '<br/>') if text else text # noqa
+MK_SANITIZER = lambda text: Markup(markdown(text)) if text else text # noqa
22
23
24
def get_path_from_doc(full_doc):
flasgger/example_validation.py
@@ -17,4 +17,5 @@ def index():
return jsonify(data)
+
app.run(debug=True)
0 commit comments