Merge branch 'MDL-65203-311' of https://github.com/dcai/moodle into MOODLE_311_STABLE

This commit is contained in:
abgreeve
2021-05-20 11:05:58 +08:00
3 changed files with 3 additions and 2 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
View File
@@ -576,6 +576,7 @@ define([
// This involves wrapping {{, and }} in change delimeter tags.
content = content
.replace(/"/g, '\\"')
.replace(/\t/g, '	')
.replace(/([{}]{2,3})/g, '{{=<% %>=}}$1<%={{ }}=%>')
.replace(/(\r\n|\r|\n)/g, '&#x0a;')
;