) is included together. I want to show "description" da..." /> ) is included together. I want to show "description" da..." /> ) is included together. I want to show "description" da..."/>

Mysql data include text style to html

159 views Asked by At

In mysql database, table named "project" contains text data below. Text style(e.g. < h1 >) is included together.

enter image description here

I want to show "description" data of "project" table {{project.description}} in monitor like:

enter image description here

But it keeps showing as it is.

enter image description here

What tags should I use?

I already used div, source, resource, code, pre, p...

Also, I used iframe tag but I don't know how to use...

My html code is:

<!DOCTYPE html>
{% extends "layout.html" %}

{% block body %}
<p>
{{ project.description }}
</p>
{% endblock %}

This template is extended from layout.html and I just wrote p tag example.

0

There are 0 answers