Revert "fix: allow backtick in HTML templates as well"
This reverts commit 2f96458bcb.
This commit is contained in:
parent
ab3f706948
commit
17e546f1a5
1 changed files with 2 additions and 2 deletions
|
|
@ -18,9 +18,9 @@ module.exports = {
|
||||||
return fs
|
return fs
|
||||||
.readFile(filepath, "utf-8")
|
.readFile(filepath, "utf-8")
|
||||||
.then((content) => {
|
.then((content) => {
|
||||||
content = JSON.stringify(scrub_html_template(content));
|
content = scrub_html_template(content);
|
||||||
return {
|
return {
|
||||||
contents: `\n\tfrappe.templates['${filename}'] = ${content};\n`,
|
contents: `\n\tfrappe.templates['${filename}'] = \`${content}\`;\n`,
|
||||||
watchFiles: [filepath],
|
watchFiles: [filepath],
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue