Spaces:
Running
Running
Highlight hyperlinks
Browse files
src/components/ConferenceDialog.tsx
CHANGED
@@ -305,7 +305,12 @@ END:VCALENDAR`;
|
|
305 |
{conference.note && (
|
306 |
<div
|
307 |
className="text-sm text-neutral-600 mt-2 p-3 bg-neutral-50 rounded-lg"
|
308 |
-
dangerouslySetInnerHTML={{
|
|
|
|
|
|
|
|
|
|
|
309 |
/>
|
310 |
)}
|
311 |
|
|
|
305 |
{conference.note && (
|
306 |
<div
|
307 |
className="text-sm text-neutral-600 mt-2 p-3 bg-neutral-50 rounded-lg"
|
308 |
+
dangerouslySetInnerHTML={{
|
309 |
+
__html: conference.note.replace(
|
310 |
+
/<a(.*?)>/g,
|
311 |
+
'<a$1 style="color: #3b82f6; font-weight: 500; text-decoration: underline; text-underline-offset: 2px;">'
|
312 |
+
)
|
313 |
+
}}
|
314 |
/>
|
315 |
)}
|
316 |
|