Ticket #13257: proposed_change.diff

File proposed_change.diff, 401 bytes (added by jkatzer, 15 years ago)

hacky fix....

  • (a) forms.py vs. (b) (current

    a b  
    479479        If attrs are given, they're used as HTML attributes on the <label> tag.
    480480        """
    481481        contents = contents or conditional_escape(self.label)
     482        if len(contents) == 1:
     483            contents = '&nbsp;'
    482484        widget = self.field.widget
    483485        id_ = widget.attrs.get('id') or self.auto_id
    484486        if id_:
Back to Top