HandlerPageView: Parse dynamically included pages recursively

This commit is contained in:
2022-03-28 21:25:37 +02:00
parent ba06d04a08
commit 03c5646858
2 changed files with 4 additions and 4 deletions

View File

@ -6,9 +6,7 @@ std::string DynamicContentIncludePage::render()
auto rev = revisionDao->getCurrentForPage(this->argument);
if(rev)
{
Parser parser;
auto result = parser.parse(*this->database->createPageDao(), *this->urlProvider, rev->content);
return result;
return rev->content;
}
return {};
}