Why are my “
” tags getting converted to “
”?

后端 未结 5 2141
Happy的楠姐
Happy的楠姐 2020-12-31 16:05

I have HTML data stored in database which I wish to display as is. It keeps converting
tags to <br /> which is a behavior I do not want. I

5条回答
  •  清歌不尽
    2020-12-31 16:07

    <br /> ==
    You just need to Decode the output to get back the original HTML.

    Use javascript unescape function

提交回复
热议问题