Make some markdown lazy load image
This commit is contained in:
parent
b2950cfcdc
commit
fddde73583
7 changed files with 7 additions and 7 deletions
|
@ -54,7 +54,7 @@
|
|||
{% endif %}
|
||||
<div class='blog-description content-description'>
|
||||
{% cache 86400 'problem_html' problem.id MATH_ENGINE LANGUAGE_CODE %}
|
||||
{{ problem.description|markdown|reference|str|safe }}
|
||||
{{ problem.description|markdown(lazy_load=True)|reference|str|safe }}
|
||||
{% endcache %}
|
||||
{% if problem.pdf_description %}
|
||||
<embed src="{{url('problem_pdf_description', problem.code)}}" width="100%" height="500" type="application/pdf" style="margin-top: 0.5em">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue