mirror of
https://github.com/frappe/frappe.git
synced 2024-06-13 04:42:20 +00:00
Revert "fix: allow backtick in HTML templates as well"
This reverts commit 2f96458bcb
.
This commit is contained in:
parent
ab3f706948
commit
17e546f1a5
|
@ -18,9 +18,9 @@ module.exports = {
|
|||
return fs
|
||||
.readFile(filepath, "utf-8")
|
||||
.then((content) => {
|
||||
content = JSON.stringify(scrub_html_template(content));
|
||||
content = scrub_html_template(content);
|
||||
return {
|
||||
contents: `\n\tfrappe.templates['${filename}'] = ${content};\n`,
|
||||
contents: `\n\tfrappe.templates['${filename}'] = \`${content}\`;\n`,
|
||||
watchFiles: [filepath],
|
||||
};
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user