josephspurrier / gowebapp

Basic MVC Web Application in Go
MIT License
1.14k stars 197 forks source link

How to render html text? #32

Closed k0fi closed 6 years ago

k0fi commented 6 years ago

Hello Joseph, I'd like to render html formatted data so that when user posts something like <strong>My important task</strong> as content, it is rendered as bold text in the template.

How can I achieve this?

I tried using NOESCAPE in the template but it does not work.

Thanks

k0fi commented 6 years ago

Please ignore this. using NOESCAPE does the job.