[docs] preprocess single-page html as well (#11045)

This commit is contained in:
Ivan Blinkov 2020-05-19 18:47:00 +03:00 committed by GitHub
parent c3d9bb829b
commit b5620c070c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@
{% if single_page and page.content %} {% if single_page and page.content %}
<!-- BREAK --> <!-- BREAK -->
(function() { (function() {
{% for chunk in page.content|chunks %} {% for chunk in page.content|adjust_markdown_html|chunks %}
document.write({{ chunk|tojson|safe }}); document.write({{ chunk|tojson|safe }});
{% endfor %} {% endfor %}
})(); })();