fix: remove htmlUnescape from expand shortcode (#667)

This commit is contained in:
Robert Kaussow 2023-07-12 08:37:47 +02:00 committed by GitHub
parent dc3ede1b72
commit 3bd1d7cd6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,6 @@
</label> </label>
<input id="{{ $id }}-{{ .Ordinal }}" type="checkbox" class="gdoc-expand__control hidden" /> <input id="{{ $id }}-{{ .Ordinal }}" type="checkbox" class="gdoc-expand__control hidden" />
<div class="gdoc-markdown--nested gdoc-expand__content"> <div class="gdoc-markdown--nested gdoc-expand__content">
{{ .Inner | $.Page.RenderString | htmlUnescape | safeHTML }} {{ .Inner | $.Page.RenderString }}
</div> </div>
</div> </div>