Changes between Initial Version and Version 2 of Ticket #31175


Ignore:
Timestamp:
Jan 17, 2020, 6:05:51 AM (7 years ago)
Author:
Mariusz Felisiak
Comment:

This newline is required to fix #8627.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31175

    • Property Type Uncategorized → Cleanup/optimization
    • Property Resolution → wontfix
    • Property Status new → closed
    • Property Summary Extra spaces in textarea widget template → Remove newline in Textarea widget.
    • Property Version 3.0 → master
  • Ticket #31175 – Description

    initial v2  
    1 The template of textarea widget has some extra spaces that are added directily inside the textarea when its rendering on the browser.
     1The template of textarea widget has some extra spaces that are added directly inside the textarea when its rendering on the browser.
    22https://github.com/django/django/blob/master/django/forms/templates/django/forms/widgets/textarea.html
    33
    … …  
    77}}}
    88
    9 The porposal is to change that to this (only one line, instead of two):
     9The proposal is to change that to this (only one line, instead of two):
    1010{{{
    1111<textarea name="{{ widget.name }}"{% include "django/forms/widgets/attrs.html" %}>{% if widget.value %}{{ widget.value }}{% endif %}</textarea>
Back to Top