From df9ac27b1048713207d2314407079586a080fc4f Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Mon, 19 Dec 2022 18:53:26 +0100 Subject: fix whitespace in shortcodes --- templates/shortcodes/include_range.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/shortcodes/include_range.md') diff --git a/templates/shortcodes/include_range.md b/templates/shortcodes/include_range.md index b8ec9e5..bed515a 100644 --- a/templates/shortcodes/include_range.md +++ b/templates/shortcodes/include_range.md @@ -8,7 +8,7 @@ {% set data = load_data(path=path) | split(pat="\n") | slice(start=start-1, end=end) -%} {% for line in data -%} - {{ line -}} + {{ line }} {% endfor -%} {#- The '-' in the for loop is important, it removes the whitespaces after the stmt. -#} -- cgit v1.2.3