mirror of
https://github.com/imfing/hextra.git
synced 2025-06-20 05:01:35 -04:00
fix copy-button not being rendered in details blocks
This commit is contained in:
@ -25,5 +25,5 @@
|
||||
{{- if transform.CanHighlight $lang -}}
|
||||
<div>{{- highlight $content $lang $options -}}</div>
|
||||
{{- else -}}
|
||||
<pre><code>{{ $content }}</code></pre>
|
||||
<div><pre><code>{{ $content }}</code></pre></div>
|
||||
{{- end -}}
|
||||
|
Reference in New Issue
Block a user