Skip to content
Snippets Groups Projects

Fix compilation when the NEWS file contains special chars

Merged Nicolas Pomepuy requested to merge Aza/vlc-android:changelog into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -309,7 +309,7 @@ def changelog() {
if (started && !line?.trim()) break
if (started) {
if (output != "") output += "\\n"
output += line.trim()
output += line.trim().replaceAll(/(@|'|"|\\/|\(|\)|=|\?)/, /\\$0/)
}
if (line.contains("---")) started = true
}
Loading