fix: Revert backslash in templates

This commit is contained in:
Faris Ansari 2019-04-20 13:30:13 +05:30
parent b465102a43
commit 582863e5bb
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@
onclick="return false;">
{{ avatar }}
<span class="ellipsis toolbar-user-fullname hidden-xs hidden-sm">
{%= __('Settings') %}</span>
{%= __("Settings") %}</span>
<b class="caret hidden-xs hidden-sm"></b></a>
<ul class="dropdown-menu" id="toolbar-user" role="menu">
<li><a href="#Form/User/{%= encodeURIComponent(frappe.session.user) %}">

View file

@ -19,7 +19,7 @@ module.exports = function frappe_html() {
var content = scrub_html_template(code);
return `
frappe.templates['${key}'] = \`${content}\`;
frappe.templates['${key}'] = '${content}';
`;
}
};