Changes between Initial Version and Version 2 of Ticket #33589
- Timestamp:
- Mar 21, 2022, 1:03:46 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33589
- Property Cc removed
- Property Needs tests set
- Property Owner changed from to
- Property Triage Stage Unreviewed → Accepted
- Property Status new → assigned
- Property Summary Incomplete string escaping or encoding → Incomplete string escaping in formats for calendar.
-
Ticket #33589 – Description
initial v2 1 1 At 2 2 The Given Code 3 ``` 3 {{{ 4 4 390| handleCalendarCallback: function(num) { 5 5 391| let format = get_format('DATE_INPUT_FORMATS')[0]; … … 9 9 395| .replace('\n', '\\n') 10 10 396| .replace('\t', '\\t') 11 ``` 11 }}} 12 12 This replaces only the first occurrence of all the escape characters not all, and as per the the function is unable to completely accurate replacement of string with escape characters. 13 13