HandlerFeedGenerator: Don't escape title again

This commit is contained in:
Albert S. 2022-08-20 12:57:54 +02:00
parent 995a980d49
commit d3bd5f79cc
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ std::string HandlerFeedGenerator::generateAtom(const std::vector<HandlerFeedGene
std::string entryurl =
this->urlProvider->combine({this->urlProvider->rootUrl(), this->urlProvider->page(page.name)});
TemplatePage atomentry = this->templ->getPage("feeds/atomentry");
atomentry.setVar("entrytitle", utils::html_xss(page.title));
atomentry.setVar("entrytitle", page.title);
atomentry.setVar("entryurl", utils::html_xss(entryurl));
atomentry.setVar("entryid", utils::html_xss(entryurl));
atomentry.setVar("entrypublished", entryPublished);