[ui] AI summary renders ### headings as literal text #145

Open
opened 2026-05-31 14:40:41 +00:00 by mik-tf · 0 comments
Owner

The AI generated summary in the Ask the Librarian results often contains markdown subheadings (lines starting with ###), and these appear as literal text such as "### Tier-S Datacenters" instead of formatted headings. The summary markdown to HTML converter used by the results view (markdown_to_html in the library component) handles bold and a few inline cases but not heading levels, so the heading lines pass through unformatted. Either extend that converter to handle headings, or render the summary with the same full markdown renderer used for book pages.

The AI generated summary in the Ask the Librarian results often contains markdown subheadings (lines starting with ###), and these appear as literal text such as "### Tier-S Datacenters" instead of formatted headings. The summary markdown to HTML converter used by the results view (markdown_to_html in the library component) handles bold and a few inline cases but not heading levels, so the heading lines pass through unformatted. Either extend that converter to handle headings, or render the summary with the same full markdown renderer used for book pages.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_books#145
No description provided.