Skip to content

Commit a60a210

Browse files
committed
fix(card): spacing issues in the followers and following text due to minification
1 parent c63a972 commit a60a210

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/card.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ export default async function card(data: GetData, uiConfig: UiConfig): Promise<s
323323
// Minify SVG
324324
const minifiedSVG = await minify(rawSVG, {
325325
collapseWhitespace: true,
326+
conservativeCollapse: true,
326327
removeComments: true,
327328
removeEmptyAttributes: true,
328329
removeRedundantAttributes: true,

0 commit comments

Comments
 (0)