Skip to content

Commit

Permalink
2023-10-26 09:10:03
Browse files Browse the repository at this point in the history
  • Loading branch information
uidHUB committed Oct 26, 2023
1 parent 53ac633 commit fbd7e1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion layouts/_default/_markup/render-codeblock-terminal.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ <h5 class="mb-0">{{ (i18n "terminal") }}</h5>
</div>
</div>
</div>
<div class="card-body p-0" id="{{ ($cp) }}">{{ (highlight ($inner) ($type)) }}</div>
<div class="card-body p-0" id="{{ ($cp) }}">{{ (highlight (($inner) | chomp) ($type)) }}</div>
</div>
</div>
4 changes: 2 additions & 2 deletions layouts/_default/_markup/render-codeblock.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@
</div>
</div>
</div>
<div class="card-body" id="{{ ($cp) }}">{{ (highlight ($inner) ($type)) }}</div>
<div class="card-body" id="{{ ($cp) }}">{{ (highlight (($inner) | chomp) ($type)) }}</div>
</div>
</div>

{{ else }}

<div class="shortcode shortcode-codeblock {{ with ($type) }}shortcode-codeblock-{{ . }}{{ end }}">
<div class="d-flex mb-3 overflow-hidden">
<div class="flex-grow-1 rounded overflow-hidden" id="{{ ($cp) }}">{{ (highlight ($inner) ($type)) }}</div>
<div class="flex-grow-1 rounded overflow-hidden" id="{{ ($cp) }}">{{ (highlight (($inner) | chomp) ($type)) }}</div>
<div class="flex-shrink-0">
<ul class="list-inline mb-0">
<li class="list-inline-item" data-bs-tooltip data-bs-title='{{ (i18n "copy") }}'>
Expand Down

0 comments on commit fbd7e1a

Please sign in to comment.