diff options
Diffstat (limited to 'content/en/methods/shortcode/Parent.md')
-rw-r--r-- | content/en/methods/shortcode/Parent.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/en/methods/shortcode/Parent.md b/content/en/methods/shortcode/Parent.md index c500af375..53fac8237 100644 --- a/content/en/methods/shortcode/Parent.md +++ b/content/en/methods/shortcode/Parent.md @@ -21,7 +21,7 @@ Welcome. Today is {{</* now */>}}. {{< code file=layouts/shortcodes/greeting.html >}} <div class="greeting"> - {{ trim .Inner "\r\n" | .Page.RenderString }} + {{ .Inner | strings.TrimSpace | .Page.RenderString }} </div> {{< /code >}} |