Skip to content

Commit

Permalink
fix (*) escape issue in MD links
Browse files Browse the repository at this point in the history
  • Loading branch information
kotlitecture committed Apr 11, 2024
1 parent 88b9559 commit a57ce06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion engine/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply from: "${project.rootDir}/gradle/kotlin/library.gradle"

group = 'com.kotlitecture.kotli'
version = '0.3.5'
version = '0.3.6'

dependencies {
implementation libs.kotlin.coroutines.core
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,6 @@ internal object MarkdownReadmeProcessor : BaseFeatureProcessor() {
}

private fun String?.asLink() = this?.let { "[Link]($it)" } ?: "-"
private fun String.encoded() = URLEncoder.encode(this, "UTF-8")
private fun String.encoded() = URLEncoder.encode(this, "UTF-8").replace("+", "%20")

}

0 comments on commit a57ce06

Please sign in to comment.