fix: raw shortcode content rendering in another shortcode

This commit is contained in:
Dillon
2022-05-07 01:20:39 +08:00
parent eb924ead82
commit 28bc034af0
5 changed files with 164 additions and 96 deletions

View File

@@ -1 +1,2 @@
{{- .Inner | safeHTML -}}
{{- $id := dict "Content" .Inner "Scratch" .Page.Scratch | partial "function/id.html" -}}
<data id="{{ $id }}" data-raw></data>