From d25db83ea05a219dbcbb074cf15480709fedf03f Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Wed, 26 Nov 2025 16:00:47 -0500 Subject: [PATCH] Fix markdown rendering in Introduction and Historical Context sections MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Apply markdown filter to Introduction and Historical Context sections to properly render bold text and other markdown formatting. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- kjvstudy_org/templates/book.html | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/kjvstudy_org/templates/book.html b/kjvstudy_org/templates/book.html index cea8ab8..cf73642 100644 --- a/kjvstudy_org/templates/book.html +++ b/kjvstudy_org/templates/book.html @@ -346,9 +346,7 @@ document.addEventListener('DOMContentLoaded', function() { {% if book_intro and book_intro.introduction %}

Introduction

- {% for paragraph in book_intro.introduction.split('\n\n') %} -

{{ paragraph }}

- {% endfor %} + {{ book_intro.introduction|md|safe }}
{% elif introduction %}
@@ -412,9 +410,7 @@ document.addEventListener('DOMContentLoaded', function() { {% if book_intro and book_intro.historical_context %}

Historical Context

- {% for paragraph in book_intro.historical_context.split('\n\n') %} -

{{ paragraph }}

- {% endfor %} + {{ book_intro.historical_context|md|safe }}
{% elif historical_context %}