I'm using django-pygments and am trying to us it like so (base.html)
<!DOCTYPE html>
{% load pygmentify %}
<head>
<link rel="stylesheet" media="screen" href="{% static 'django_pygments/css/pygments_default.css' %}" type="text/css">
</head>
<div class="row">
<div id="mainbody" class="small-12 large-8 large-offset-2 columns">
<body>
{% pygment %}
{% block content %}
{% endblock %}
{% endpygment %}
</body>
</div>
<div id="sidebar" class="small-12 large-2 columns">
</div>
<div class="small-12 large-8 large-offset-2 columns">
{% block comments %}
{% endblock %}
</div>
<div class="small-12 large-2 columns">
</div>
</div>
Then I'm passing {{ post.content|safe }} into block content. The pigmented code comes out as such:

I've tried changing the <ol> tags in the source code to <ul> but obviously that wasn't the issue. I also turned passed linenos=False and True but that only made it more weird as the line numbers aren't lined put correctly.
Anyone know what I might be doing wrong?
Apparently there was a problem with my
cssstyle sheet. I tried changing it and now it looks normal.