Merge branch 'master' of github.com:Mint-System/Wiki

This commit is contained in:
Janik von Rotz committed 2022-01-18 19:39:22 +01:00
commit 327f69f2ff
1 file changed
+2 -3
+2 -3
View File
@@ -157,9 +157,8 @@ if (!firstArg || ['all', 'convert'].indexOf(firstArg) > 0) {
let backLinks = links.filter(link => link.target === fileName)
// remove duplicates
let backLinkSet = new Set(backLinks)
backLinks = [...backLinkSet]
backLinks = Array.from(new Set(backLinks.map(o => JSON.stringify(o)))).map(s => JSON.parse(s))
content = content + [
'\n',
'\n',