Escape character (Lodash template `<% %>`)
Shyam-Chen opened this issue · comments
Shyam Chen commented
Need to escape Lodash template syntax (<% %>
).
<p>
<%= foo %>
<p>
import { template as _ } from 'lodash';
import template from './foo.html';
console.log(_(template)({ foo: 'Foo' }));
Ivan Demidov commented
@Shyam-Chen Hi, see posthtml/posthtml-parser#16 - this must help you.
Ivan Demidov commented
@Shyam-Chen #231.
close this issue ?
Shyam Chen commented
Awesome!
Shyam Chen commented
After the release, I will do the test.
Ivan Demidov commented
@Shyam-Chen try
Ivan Demidov commented
@Shyam-Chen close ?