type Info struct {
Summary string
Desc string
}
And this is the template string
tmplStr = `Summary={{.Summary}}, Desc={{.Desc}}`
If the value of Desc has newlines, it looks like the template engine strips those out and replaces them with spaces. Is there any way to force the template engine to preserve the new lines?
Thanks,
Joe