HandlerFeedGenerator: Don't escape title again
This commit is contained in:
父節點
995a980d49
當前提交
d3bd5f79cc
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user