diff --git a/web/packages/hovercards/src/core.ts b/web/packages/hovercards/src/core.ts index ce6c3e9..1050581 100644 --- a/web/packages/hovercards/src/core.ts +++ b/web/packages/hovercards/src/core.ts @@ -366,10 +366,11 @@ export default class Hovercards { ${ - description && - `
-

${ escHtml( description ) }

-
` + description + ? `
+

${ escHtml( description ) }

+
` + : '' }