mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 01:17:50 +00:00
Avoid escaping existing non-ascii characters in templates. [closes #278]
Former-commit-id: a56581f3e323c0c47e4f26ef8dce13e90fb6c15c
This commit is contained in:
@@ -1 +1 @@
|
||||
Hello {{ name }}!
|
||||
Hallå {{ name }}!
|
||||
@@ -652,7 +652,7 @@
|
||||
vm.runInContext(data.source, context);
|
||||
|
||||
equal(moduleId, expectedId, basename);
|
||||
equal(_.templates.d(object.d), 'Hello Mustache!', basename);
|
||||
equal(_.templates.d(object.d), 'Hallå Mustache!', basename);
|
||||
delete _.templates;
|
||||
start();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user