Don't escape < and > inside templates
This commit is contained in:
parent
19f50d6cdc
commit
c51f7bca4c
|
@ -27,6 +27,10 @@ namespace templ {
|
|||
{}
|
||||
|
||||
void Template::render(std::ostream& out, TemplateContext& context) {
|
||||
mstch::config::escape = [](const std::string& str) -> std::string {
|
||||
return str;
|
||||
};
|
||||
|
||||
std::ifstream file;
|
||||
file.open (m_filename);
|
||||
std::stringstream tmplt;
|
||||
|
|
Loading…
Reference in New Issue