Remove whitespace from id links, fix <br> closing
This commit is contained in:
@ -60,7 +60,7 @@ std::string HandlerPageView::createIndexContent(IParser &parser, std::string con
|
||||
}
|
||||
previous = h.level;
|
||||
HtmlLink link;
|
||||
link.href = "#" + h.title;
|
||||
link.href = "#" + utils::strreplace(h.title, " ", "");
|
||||
link.innervalue = h.title;
|
||||
link.cssclass = "indexlink";
|
||||
indexcontent += "<li>" + link.render() + "</li>";
|
||||
|
Fai riferimento in un nuovo problema
Block a user