From 5797b88e88bf903eabbbfedc0478940b8a0dcd58 Mon Sep 17 00:00:00 2001 From: phil Date: Mon, 23 Oct 2023 17:53:08 +0200 Subject: [PATCH] Fix: Dokuwiki can't parse double slashes --- templates/section_mounted_fs.txt.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/section_mounted_fs.txt.j2 b/templates/section_mounted_fs.txt.j2 index 61c2a93..3bf9f38 100644 --- a/templates/section_mounted_fs.txt.j2 +++ b/templates/section_mounted_fs.txt.j2 @@ -2,5 +2,5 @@ ^ Device ^ Mount point ^ File system ^ Size ^ {% for item in ansible_mounts %} -| {{ item.device }} | {{ item.mount }} | {{ item.fstype }} | {{ item.size_total | human_readable(unit="G") }} | +| {{ item.device | replace('//', '/') }} | {{ item.mount }} | {{ item.fstype }} | {{ item.size_total | human_readable(unit="G") }} | {% endfor %}