disable single attribute per line

This commit is contained in:
jeffvli
2025-07-12 11:17:54 -07:00
parent 92ed8e20c9
commit 8b141d652c
154 changed files with 390 additions and 1800 deletions
+1 -6
View File
@@ -20,12 +20,7 @@ export const replaceURLWithHTMLLinks = (text: string) => {
const link = match[0];
const prefix = link.startsWith('http') ? '' : 'https://';
elements.push(
<a
href={prefix + link}
key={lastIndex}
rel="noopener noreferrer"
target="_blank"
>
<a href={prefix + link} key={lastIndex} rel="noopener noreferrer" target="_blank">
{link}
</a>,
);