mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 18:20:30 +08:00
Use linkify-it for commit description URLs
Replace the hand-rolled URL regex with `linkify-it` (already a transitive dep via `marked-linkify-it`). Add unit tests.
This commit is contained in:
@@ -31,7 +31,5 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<a {href} target="_blank" rel="noreferrer">
|
||||
<slot>{href}</slot>
|
||||
<span class="icon"><Icon name="open-external" /></span>
|
||||
</a>
|
||||
<!-- prettier-ignore -->
|
||||
<a {href} target="_blank" rel="noreferrer"><slot>{href}</slot><span class="icon"><Icon name="open-external" /></span></a>
|
||||
|
||||
Reference in New Issue
Block a user