From fd0c1a5e9b59954c3a09bbff45306272d5c229df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sun, 27 Feb 2022 18:28:35 +0100 Subject: tpl/diagrams: Rename the SVG accessor to Wrapped Not perfect, but it gets it in line with the other .Inner/.Wrapped combos. --- markup/goldmark/codeblocks/integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'markup') diff --git a/markup/goldmark/codeblocks/integration_test.go b/markup/goldmark/codeblocks/integration_test.go index fb83e7d24..1a70b0bf0 100644 --- a/markup/goldmark/codeblocks/integration_test.go +++ b/markup/goldmark/codeblocks/integration_test.go @@ -41,7 +41,7 @@ func TestCodeblocks(t *testing.T) { tabWidth = 4 -- layouts/_default/_markup/render-codeblock-goat.html -- {{ $diagram := diagrams.Goat .Inner }} -Goat SVG:{{ substr $diagram.SVG 0 100 | safeHTML }} }}| +Goat SVG:{{ substr $diagram.Wrapped 0 100 | safeHTML }} }}| Goat Attribute: {{ .Attributes.width}}| -- layouts/_default/_markup/render-codeblock-go.html -- Go Code: {{ .Inner | safeHTML }}| -- cgit v1.2.3