diff --git a/build.sbt b/build.sbt index 9de9622d1..adf5a68e2 100644 --- a/build.sbt +++ b/build.sbt @@ -114,7 +114,7 @@ lazy val sharedJavaSettings = List( ) val V = new { - val scalameta = "4.8.15" + val scalameta = "4.9.0" val munit = "1.0.0-M11" val coursier = "1.0.19" val scalacheck = "1.17.0" diff --git a/mdoc/src/main/scala-2/mdoc/internal/markdown/Instrumenter.scala b/mdoc/src/main/scala-2/mdoc/internal/markdown/Instrumenter.scala index 3781fb945..4189d0ecb 100644 --- a/mdoc/src/main/scala-2/mdoc/internal/markdown/Instrumenter.scala +++ b/mdoc/src/main/scala-2/mdoc/internal/markdown/Instrumenter.scala @@ -168,7 +168,7 @@ object Instrumenter { def stringLiteral(string: String): String = { import scala.meta.internal.prettyprinters._ - enquote(string, DoubleQuotes) + DoubleQuotes(string) } def wrapBody(body: String): String = { diff --git a/mdoc/src/main/scala-3/mdoc/internal/markdown/Instrumenter.scala b/mdoc/src/main/scala-3/mdoc/internal/markdown/Instrumenter.scala index 4c29eab0d..7c23473d9 100644 --- a/mdoc/src/main/scala-3/mdoc/internal/markdown/Instrumenter.scala +++ b/mdoc/src/main/scala-3/mdoc/internal/markdown/Instrumenter.scala @@ -169,7 +169,7 @@ object Instrumenter { def stringLiteral(string: String): String = { import scala.meta.internal.prettyprinters._ - enquote(string, DoubleQuotes) + DoubleQuotes(string) } def wrapBody(body: String): String = {