Remove whitespace from id links, fix <br> closing

这个提交包含在:
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>";