mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-15 13:00:25 +02:00
[enhancement]: custom css
This commit is contained in:
@@ -16,10 +16,11 @@ export const replaceURLWithHTMLLinks = (text: string) => {
|
||||
}
|
||||
|
||||
const link = match[0];
|
||||
const prefix = link.startsWith('http') ? '' : 'https://';
|
||||
elements.push(
|
||||
<a
|
||||
key={lastIndex}
|
||||
href={link}
|
||||
href={prefix + link}
|
||||
rel="noopener noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user