Changes between Initial Version and Version 7 of Ticket #28121


Ignore:
Timestamp:
Apr 24, 2017, 7:40:15 PM (8 years ago)
Author:
Thomas Achtemichuk
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28121

    • Property Version master1.11
  • Ticket #28121 – Description

    initial v7  
    2020'&'
    2121}}}
     22
     23Edit: This behavior differs from the same code run under PY2:
     24
     25{{{
     26>>> type(force_text(SafeBytes(b'&')))
     27django.utils.safestring.SafeText
     28}}}
     29
     30And disagrees with the comment in force_text:
     31{{{
     32            # Note: We use .decode() here, instead of six.text_type(s, encoding,
     33            # errors), so that if s is a SafeBytes, it ends up being a
     34            # SafeText at the end.
     35}}}
Back to Top