Skip to content

Commit

Permalink
fix unneeded escape
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanImperato committed Nov 20, 2024
1 parent 68a3b3b commit 7a07553
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion plugin-build/buildSrc/src/main/java/Coordinates.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
object PluginCoordinates {
const val ID = "io.github.jonathanimperato.loco-sync"
const val GROUP = "io.github.jonathanimperato"
const val VERSION = "0.0.22"
const val VERSION = "0.0.23"
const val IMPLEMENTATION_CLASS = "io.github.jonathanimperato.loco.sync.LocoSyncPlugin"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ abstract class GenerateResourcesTask : DefaultTask() {
fun String.unescapeXml(): String {
return this.replace("\\\\", "\\") // Rimuove i doppi backslash
.replace("\\'", "'") // Rimuove l'escape dal carattere singolo
.replace("\\n", "\n") // Sostituisce le sequenze di newline con newline reali
.replace("\\t", "\t") // Sostituisce le tabulazioni
.replace("&lt;", "<") // Decodifica i caratteri HTML
.replace("&gt;", ">")
.replace("&amp;", "&")
Expand Down

0 comments on commit 7a07553

Please sign in to comment.