core: avoid inserting automatic whitespace in MarkdownInput

This commit is contained in:
Antoine Bartuccio 2018-12-18 14:13:15 +01:00
parent 4d866843e1
commit 3b08603635

View File

@ -1,6 +1,5 @@
<div> <div>
<textarea name="{{ widget.name }}"{% include "django/forms/widgets/attrs.html" %}> <textarea name="{{ widget.name }}"{% include "django/forms/widgets/attrs.html" %}>{% if widget.value %}{{ widget.value }}{% endif %}</textarea>
{% if widget.value %}{{ widget.value }}{% endif %}</textarea>
{# The simplemde script can be included twice, it's safe in the code #} {# The simplemde script can be included twice, it's safe in the code #}
<script src="{{ statics.js }}"> </script> <script src="{{ statics.js }}"> </script>