Skip to content

Commit d345901

Browse files
committed
test5
1 parent 216b60d commit d345901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cards/new-log.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const createCardBody = ({title, short_description}) => {
2121
<svg data-testid="lang-items" x="25" width="400" height="40" viewBox="0 0 400 40">
2222
<g transform="translate(0, 0)">
2323
<text data-testid="lang-name" x="2" y="15" class="log-title">${title}</text>
24-
<text ata-testid="lang-description" x="2" y="35" class="log-description">${new String(short_description)}</text>
24+
<text ata-testid="lang-description" x="2" y="35" class="log-description">${replaceAll(short_description, '<', '&lt;')}</text>
2525
</g>
2626
</svg>
2727
</g>

0 commit comments

Comments
 (0)