Hide html tags and show correct format

I am using dojo widget to accept data users input. it will add some html
tag into the text saved. like, when a user press enter to create a new
line, it will create a tag < br >, when I tried showing the saved text
to users, it will show html tags like, < br > as well. I want to hide
those html tags, but show correct format using these hidden html tags,
how may I do that? thanks.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs