summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--lib/template.source.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 5164c3b..ad8c310 100644
--- a/README.md
+++ b/README.md
@@ -127,7 +127,7 @@ Welcome to this capsule!
... results into the following `index.gmi` after running `./gemtexter --generate` (or `./gemtexter --template`, which instructs to do only template processing and nothing else):
```
-# Hallo world
+# Hello world
> This site was generated at 2023-03-15T19:07:59+02:00 by `Gemtexter`
diff --git a/lib/template.source.sh b/lib/template.source.sh
index 197caa5..c1487ba 100644
--- a/lib/template.source.sh
+++ b/lib/template.source.sh
@@ -48,7 +48,7 @@ $line"
'<< '*)
template::_line "$line"
;;
- '<<<')
+ '<<<'*)
is_block=yes
;;
*)
@@ -92,7 +92,7 @@ Just so that you know'
local -r template3='<<<
foo=baz
>>>
-<<<
+<<<bash
echo $foo
>>>'
assert::equals "$(template::_generate <<< "$template3")" baz