Changes between Initial Version and Version 7 of Ticket #28121
- Timestamp:
- Apr 24, 2017, 7:40:15 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28121
- Property Version master → 1.11
-
Ticket #28121 – Description
initial v7 20 20 '&' 21 21 }}} 22 23 Edit: This behavior differs from the same code run under PY2: 24 25 {{{ 26 >>> type(force_text(SafeBytes(b'&'))) 27 django.utils.safestring.SafeText 28 }}} 29 30 And 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 }}}