Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Fix stackoverflow error in recursion
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver-makes-code committed Feb 15, 2023
1 parent b211fa5 commit 152d99f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

group = "dev.proxyfox"
version = "1.3"
version = "1.4"

repositories {
mavenCentral()
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/dev/proxyfox/markt/Parser.kt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class MarkdownParser {
}

val match = rules.firstNonNull {
parse(substr)
parse(substr, this@MarkdownParser)
}

if (match == null) {
Expand Down

0 comments on commit 152d99f

Please sign in to comment.