Skip to content

Commit 983aa5e

Browse files
committed
Use tag instead of display name as class name
1 parent 8c868f7 commit 983aa5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/output/themes/default/partials/comment.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export function commentTags(context: DefaultThemeRenderContext, props: Reflectio
3939

4040
return (
4141
<>
42-
<div class={`tsd-tag-${name}`}>
42+
<div class={`tsd-tag-${item.tag.substring(1)}`}>
4343
<h4 class="tsd-anchor-link">
4444
<a id={anchor} class="tsd-anchor"></a>
4545
{name}

0 commit comments

Comments
 (0)