diff options
Diffstat (limited to 'buildhelpers')
-rw-r--r-- | buildhelpers/src/com/vaadin/buildhelpers/FetchReleaseNotesTickets.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/buildhelpers/src/com/vaadin/buildhelpers/FetchReleaseNotesTickets.java b/buildhelpers/src/com/vaadin/buildhelpers/FetchReleaseNotesTickets.java index 588fe1aba1..5c3810099a 100644 --- a/buildhelpers/src/com/vaadin/buildhelpers/FetchReleaseNotesTickets.java +++ b/buildhelpers/src/com/vaadin/buildhelpers/FetchReleaseNotesTickets.java @@ -46,8 +46,15 @@ public class FetchReleaseNotesTickets { // This is the header continue; } + String summary = fields[1]; + if (summary.startsWith("\"") && summary.endsWith("\"")) { + // If a summary starts with " and ends with " then all quotes in + // the summary are encoded as double quotes + summary = summary.substring(1, summary.length() - 1); + summary = summary.replace("\"\"", "\""); + } System.out.println(ticketTemplate.replace("@ticket@", fields[0]) - .replace("@description@", fields[1])); + .replace("@description@", summary)); } urlStream.close(); } |