Skip to content

Commit fdb058d

Browse files
committed
Fix for invalid %20 sub
1 parent dd9e96c commit fdb058d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/macosMain/kotlin/com/jetbrains/handson/handson/init/HandsOnInitiator.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -251,12 +251,12 @@ class HandsOnInitiator(private val configuration: Configuration) {
251251

252252
private fun generateREADMEContent(): String {
253253
return "[![official JetBrains project](https://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)\n" +
254-
"[![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0)\n" +
254+
"[![GitHub license](https://img.shields.io/badge/license-Apache%%20License%%202.0-blue.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0)\n" +
255255
"\n" +
256256
"\n" +
257257
"# ${configuration.title}\n" +
258258
"\n" +
259-
"This repository is the code corresponding to the hands-on lab [${configuration.title}](https://play.kotlinlang.org/hands-on/${configuration.pathHandsOn.replace(" ", "%20")}/01_Introduction). \n"
259+
"This repository is the code corresponding to the hands-on lab [${configuration.title}](https://play.kotlinlang.org/hands-on/${configuration.title.replace(" ", "%%20")}/01_Introduction). \n"
260260
}
261261

262262
private fun generateIntroductionContent(): String {

0 commit comments

Comments
 (0)