0

Let's say I have a this value in my database

"line 1 <br/> line 2 <br/> line 3"

When I display it through using select statement and paragraph tag like this

<p> @item.value </p>

it prints out the same single line. What should I insert to the values in the database in order to read the break lines tags ?

I tried to replace the <br> tags with char(13) / char(10)+char(13) / \n and it didn't work.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
user2962142
  • 1,916
  • 7
  • 28
  • 42

0 Answers0