-1
Speak guys, I have a text written in BD Mysql where, this text already contains all the formatting tags.
On my font-end page, I receive this text through a foreach and pass it in a div of the page, however, it is not reflecting the formatting of the tags, the tags are coming as text.
Example of the text contained in the BD’s article table:
Here is my div who will receive this content:
<div data-content="html"><%= row.artigo %></div>
Try it this way:
<%=html_entity_decode(row.artigo) %>
.– Sam