Skip to content

Commit

Permalink
[Docs Site] Fix <p> tags on asides (#13319)
Browse files Browse the repository at this point in the history
  • Loading branch information
KianNH authored Mar 12, 2024
1 parent 8685d0c commit a115d95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/shortcodes/Aside.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{{- $type := default "note" (.Get "type") -}}
<aside class="DocsMarkdown--aside" role="note" data-type="{{ $type }}">
{{- with .Get "header" }}
<div class="DocsMarkdown--aside-header">{{- safeHTML . -}}</div>
<div class="DocsMarkdown--aside-header">{{- safeHTML . -}}</div>
{{- end -}}

{{- .Page.RenderString .Inner -}}
{{- .Inner | .Page.RenderString (dict "display" "block") -}}
</aside>

0 comments on commit a115d95

Please sign in to comment.