From 8e6dfc2e3d8a011f6928940e7c11db3f451c95bc Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Fri, 12 Jul 2024 23:51:13 +0200 Subject: [PATCH] fix(html): correctly handle examples in document navigation (#612) --- src/html/comrak_adapters.rs | 2 +- src/html/jsdoc.rs | 51 ++++- src/html/symbols/mod.rs | 10 +- src/html/util.rs | 15 +- .../html_test__html_doc_files_rewrite-21.snap | 2 +- tests/snapshots/html_test__symbol_group.snap | 197 +++++++++--------- 6 files changed, 166 insertions(+), 111 deletions(-) diff --git a/src/html/comrak_adapters.rs b/src/html/comrak_adapters.rs index d4586f77..5a46d37b 100644 --- a/src/html/comrak_adapters.rs +++ b/src/html/comrak_adapters.rs @@ -285,7 +285,7 @@ impl HeadingToCAdapter { } let mut toc_content = vec!["