I have stored some content in MySQL that looks like this.
"Hi!
How are you?
Here is the link you wanted:
http://www.google.com"
When I print it in Golang template, its not parsing correctly. I mean everything displayed in one line.
Its supposed to print like this
Hi!
How are you?
Here is the link you wanted:
http://www.google.com
Here is my template code.
<tr>
<td>TextBody</td>
<td>{{.Data.Content}}</td>
</tr>
Am I missing something?
</div>