Using raw string now
This commit is contained in:
parent
78068d511c
commit
566d8f53d5
1 changed files with 1 additions and 1 deletions
|
@ -1762,7 +1762,7 @@ INDEX = Template("""<!DOCTYPE html>
|
|||
data.text = editor.getValue()
|
||||
$.post("api/save", data).done(function(resp) {
|
||||
if (resp.error) {
|
||||
var $toastContent = $("<div><pre>" + resp.message + "\n" + resp.path + "</pre></div>");
|
||||
var $toastContent = $("<div><pre>" + resp.message + "\\n" + resp.path + "</pre></div>");
|
||||
Materialize.toast($toastContent, 5000);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue