bugfix: removed introduced bug with | -> : replacement

This commit is contained in:
Ämin Baumeler 2025-06-17 15:41:40 +02:00
parent 760c33b225
commit a9201a7060

View File

@ -96,7 +96,7 @@ function fn(path, n, a) {
function title(start, summary) {
summary = getcontent(summary)
gsub("\n", " ", summary) # This will be put on a single line
gsub("|", ":", summary) # we use "|" as delimiter
gsub("\\|", ":", summary) # we use "|" as delimiter
depth = split(FILENAME, path, "/")
collection = depth > 1 ? path[depth-1] : ""
collection = collection in collection2label ? collection2label[collection] : collection