Merge branch 'MDL-66542_master' of https://github.com/t-schroeder/moodle
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -492,7 +492,7 @@ define([
|
||||
// Escape the {{ and the ".
|
||||
// This involves wrapping {{, and }} in change delimeter tags.
|
||||
content = content
|
||||
.replace('"', '\\"')
|
||||
.replace(/"/g, '\\"')
|
||||
.replace(/([\{\}]{2,3})/g, '{{=<% %>=}}$1<%={{ }}=%>')
|
||||
.replace(/(\r\n|\r|\n)/g, '
')
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user