Include text saved from textarea but don't escape <br> tags
1,593 views
Skip to first unread message
Adam Parrish
unread,
Aug 22, 2012, 8:21:21 PM8/22/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ang...@googlegroups.com
I have a simple textarea that I am saving off to the database. When a user has a hard line feed in the text area I save that in the database as <br/>.
Then when I read the JSON back to display the data the <br/> tags are visible in the text rather than being interpreted as breaks. Is there a better way to save multiple lines with hard line feeds and have them display with bindings?
Adam Parrish
unread,
Aug 22, 2012, 8:44:35 PM8/22/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message