So, I want to convert a string I have containing HTML tags converted from a Markdown file into actual HTML. Then inserting the HTML afterwards into a template via Django (this is my first time ever using Django).
What my current output looks like:

Instead of getting plain text, I want the HTML shown in the screenshot to be executed like normal HTML.
Code from my views.py file:
from django.http.response import HttpResponse
from django.shortcuts import render
from markdown2 import Markdown, markdown
import random
from . import util
import html.parser
# index output
def index(request):
    return render(request, "encyclopedia/index.html", {
        "entries": util.list_entries()
    })
# function to render wiki entries
def page_render(request, title):
    entry = util.get_entry(title)
    if entry != None:
        markdowner = Markdown()
        content = markdowner.convert(entry)
        return render(request, "encyclopedia/display.html", {
        "title": title,
        "content": content
    })
    else:
        return render(request, "encyclopedia/error.html")
Code from my HTML template:
{% extends "encyclopedia/layout.html" %}
{% block title %} 
{{ title }} 
{% endblock %}
{% block body %}
    {{ content }}
{% endblock %}
Thanks in advance for the help!
Kind Regards
PrimeBeat
 
     
    