Remove whitespace from id links, fix <br> closing

This commit is contained in:
2024-12-23 10:43:58 +01:00
父節點 79d69f4b65
當前提交 d1358f7e77
共有 2 個文件被更改,包括 6 次插入2 次删除

查看文件

@@ -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>";