Skip to content

Commit b81f5f0

Browse files
committed
Knit: fix handling of backquote when making anchor reference
1 parent b552d2c commit b81f5f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

knit/src/Knit.kt

+1
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ fun makeSectionRef(name: String): String = name
352352
.replace(",", "")
353353
.replace("(", "")
354354
.replace(")", "")
355+
.replace("`", "")
355356
.toLowerCase()
356357

357358
class Include(val regex: Regex, val lines: MutableList<String> = arrayListOf())

0 commit comments

Comments
 (0)