Whether on the right, triple quotes do not receive any special treatment, but since you are using groovy, itβs easy enough for you to get the behavior you need:
def description = '''Join the Perl programmers of the Pork Producers of America as we hone our skills and ham it up a bit. You can show off your programming chops while trying to win a year supply of pork chops in our programming challenge. Come and join us in historic (and aromatic), Austin, Minnesota. You'll know when you're there!''' description.split("\n").collect { it.trim() }.join(" ")
Fingerprints:
Join the Perl programmers of the Pork Producers of America as we hone our skills and ham it up a bit. You can show off your programming chops while trying to win a year supply of pork chops in our programming challenge. Come and join us in historic (and aromatic), Austin, Minnesota. You'll know when you're there!
If you are looking for additional formatting, you can check out markdown and the MarkdownJ library . I actually just released the Grails Markdown plugin yesterday, which will take text with formatted formatted text and turn it into HTML for GSP.
source share