Fixed #236 - missing space with highlighted words (#239)

This commit is contained in:
Simon Cambier
2023-05-09 21:50:51 +02:00
committed by GitHub
parent 362df5360b
commit 8b7cd2d3e3
2 changed files with 4 additions and 3 deletions

View File

@@ -71,8 +71,9 @@
<span class="omnisearch-result__title">
<span bind:this="{elFilePathIcon}"></span>
<span>{@html title.replace(reg, highlighterGroups)}</span>
<span class="omnisearch-result__extension"
>.{getExtension(note.path)}</span>
<span class="omnisearch-result__extension">
.{getExtension(note.path)}
</span>
<!-- Counter -->
{#if note.matches.length > 0}