mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-10 14:19:09 +01:00
Makes sure if the d component of an a-tag has :, it stays in the d-tag after parse.
This commit is contained in:
@@ -75,7 +75,7 @@ data class ATag(
|
||||
relay: String?,
|
||||
): ATag? =
|
||||
try {
|
||||
val parts = atag.split(":")
|
||||
val parts = atag.split(":", limit = 3)
|
||||
Hex.decode(parts[1])
|
||||
ATag(parts[0].toInt(), parts[1], parts[2], relay)
|
||||
} catch (t: Throwable) {
|
||||
|
||||
Reference in New Issue
Block a user