From 4b7e651bf64b641583a45c122798212931902ef4 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 8 Jan 2025 10:49:48 +1100 Subject: Fixed bug w/ reading only 1 doc. var. --- ds-static | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ds-static b/ds-static index 1b10e8a..9a55236 100755 --- a/ds-static +++ b/ds-static @@ -64,7 +64,7 @@ proc document-variables {filename} { ## Retrieve text. set fd [open $filename] - variable text [gets $fd] + variable text [read $fd] close $fd ## The generated variables. @@ -112,7 +112,7 @@ proc document-variables {filename} { proc process-tags {base_template content variables} { ## Get basic template and content. - + set content [string map \ [list $content] \ [dict get $::templates $base_template]] -- cgit v1.2.3