summaryrefslogtreecommitdiffstats
path: root/markup
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-02-27 18:28:35 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-02-27 19:51:40 +0100
commitfd0c1a5e9b59954c3a09bbff45306272d5c229df (patch)
tree4fbc0afb607f20999fa85b973beed6a2b8a620c5 /markup
parent3ad39001df84c01a5da8ec7e008ee3835e1a7c4e (diff)
tpl/diagrams: Rename the SVG accessor to Wrapped
Not perfect, but it gets it in line with the other .Inner/.Wrapped combos.
Diffstat (limited to 'markup')
-rw-r--r--markup/goldmark/codeblocks/integration_test.go2
1 files changed, 1 insertions, 1 deletions
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 }}|