In mygsp.gsp file, I have:
<div><markdown:renderHtml text="${infoText}"/>/div>
In myfile.groovy, I have:
def infoText = "For further details. <http:\\www.myurl.com>"
The output gives a hyperlink to myurl.com within the same page, after the string "For further details."
How can I:
Hyperlink "myurl.com" to render in a new page?
Overwrite "For further details." to represent myurl.com?
I am aiming to achieve through groovy, what HTML would say:
<a href="www.myurl.com". target="_/blank">For Further details</a>