Skip to content

Commit c3fe4e0

Browse files
fix: Handle search highlight in expander summary correctly (#158)
The span in #145 was only added to the print version (due to a rebase / merge). This adds it to the normal version for which it was originally planned. It fixes the following display issue: ![image](https://github.com/user-attachments/assets/122db018-8dde-4af5-8e9d-ed08cce20b8e) Co-authored-by: Lennart Rommeiss <61516567+lenderom@users.noreply.github.com>
1 parent e3c2e0d commit c3fe4e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/shortcodes/expander.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<details name="{{ (.Get 1) }}" class="details-screen">
22
<summary>
3-
{{ (.Get 0) }}
3+
<span>{{ (.Get 0) }}</span>
44
</summary>
55
<div>
66
{{ .Inner }}

0 commit comments

Comments
 (0)