summaryrefslogtreecommitdiffstats
path: root/hugolib/shortcode.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/shortcode.go')
-rw-r--r--hugolib/shortcode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/shortcode.go b/hugolib/shortcode.go
index 0a10d47eb..1c0dfaade 100644
--- a/hugolib/shortcode.go
+++ b/hugolib/shortcode.go
@@ -689,7 +689,7 @@ Loop:
case currItem.IsDone():
if !currItem.IsError() {
if !closed && sc.needsInner() {
- return sc, fmt.Errorf("%s: unclosed shortcode %q", errorPrefix, sc.name)
+ return sc, fmt.Errorf("%s: shortcode %q must be closed or self-closed", errorPrefix, sc.name)
}
}
// handled by caller