raw HTMLをshortcodeが扱えるように修正
This commit is contained in:
parent
e5a413f5cd
commit
99211ea640
|
@ -1,4 +1,4 @@
|
|||
<canvas id="{{ if .Get "canvas" }}{{ .Get "canvas" }}{{ else }}mychart{{ end }}" width="{{ if .Get "width" }}{{ .Get "width" }}{{ else }}400{{ end }}" height="{{ if .Get "height" }}{{ .Get "height" }}{{ else }}400{{ end }}"></canvas>
|
||||
<script>
|
||||
{{ safeHTML .Inner }}
|
||||
{{ .Inner }}
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue