From 48300870bcd6812af1a0601fc6ad6597cbfa1e16 Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Sun, 7 May 2023 12:44:41 +0100 Subject: [PATCH] Fix icon URL regex --- .../quiltmc/community/modes/quilt/extensions/ForumExtension.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/org/quiltmc/community/modes/quilt/extensions/ForumExtension.kt b/src/main/kotlin/org/quiltmc/community/modes/quilt/extensions/ForumExtension.kt index 595217eb..b68f4a85 100644 --- a/src/main/kotlin/org/quiltmc/community/modes/quilt/extensions/ForumExtension.kt +++ b/src/main/kotlin/org/quiltmc/community/modes/quilt/extensions/ForumExtension.kt @@ -63,7 +63,7 @@ import kotlin.time.Duration.Companion.seconds private const val TOOLCHAIN_LOGO: String = "https://raw.githubusercontent.com/QuiltMC/art/master/brand/512png/quilt_toolchain_logo_dark.png" -private val ICON_URL_REGEX = Regex("(?:^|\n)Icon URL:([^\n])") +private val ICON_URL_REGEX = Regex("(?:^|\n)Icon URL:([^\n]+)") class ForumExtension : Extension() { override val name: String = "forum"