optimizations

This commit is contained in:
Daniel Sipka 2015-04-15 16:13:23 +02:00
parent bb21e64a51
commit 48fbaeb3c9
5 changed files with 49 additions and 37 deletions

View file

@ -26,7 +26,7 @@ std::string state::outside_section::render(
}
case token::type::comment: break;
case token::type::text:
return token.raw();
return token.content();
case token::type::partial:
return ctx.render_partial(token.content());
case token::type::section_close: break;