Skip to content

Commit

Permalink
Merge pull request #28 from jkugiya/fix/duplicated_slashes
Browse files Browse the repository at this point in the history
fix: duplicated slashes
  • Loading branch information
mkurz authored Feb 13, 2024
2 parents 1261986 + ce1751f commit 59eda71
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ object SearchIndex {
final case class Section(location: String, title: String, text: String)
object Section {
implicit val encoder: Encoder[Section] =
Encoder.forProduct3("location", "text", "title")(page => ("/" + page.location, page.text, page.title))
Encoder.forProduct3("location", "text", "title")(page => (page.location, page.text, page.title))
}

val Headers = Set("h1", "h2", "h3", "h4", "h5", "h6")
Expand Down

0 comments on commit 59eda71

Please sign in to comment.