Fix issue which can arise with formatting

This commit is contained in:
Alex Haslam 2023-12-20 15:01:25 +00:00
parent 3e81805971
commit 46c1199289
No known key found for this signature in database

View file

@ -2,9 +2,10 @@
<span <span
class="rounded-full bg-primary-500 dark:bg-primary-300 text-neutral-50 dark:text-neutral-700 px-1.5 py-[1px] text-xs font-normal" class="rounded-full bg-primary-500 dark:bg-primary-300 text-neutral-50 dark:text-neutral-700 px-1.5 py-[1px] text-xs font-normal"
> >
<span class="flex items-center"> <span class="flex flex-row items-center">
{{if $icon}} {{if $icon}}
<span class="mr-1">{{ partial "icon" $icon }}</span> <span class="mr-1">{{ partial "icon" $icon }}</span>
{{ end }} {{- .Inner | markdownify -}} {{ end }}
<span> {{- .Inner | markdownify -}} </span>
</span> </span>
</span> </span>