- Created 'nuclear_strip' helper to remove all hidden and unicode whitespace characters.
- Applied 'nuclear_strip' globally to the inventory and during content extraction.
- Fixed MD031 by ensuring proper blank line spacing around Mermaid code fences in introduction.md.
- Hardened comparison tables and link lists against invisible formatting issues.
- Implemented global data sanitization upon inventory load to strip whitespace and hidden characters from all titles.
- Forced whitespace stripping during the initial Markdown extraction phase (V1 content gathering).
- This ensures 100% clean link text across all rendered documentation, preventing 'Spaces inside link text' violations.
- Stripped all leading/trailing whitespace (including non-breaking spaces) from link titles in list items, comparison tables, and the index pulse.
- Ensured URLs are stripped to prevent formatting issues.
- This resolves the persistent 'Spaces inside link text' error in generated documentation.
- Fixed MD024: Included H1 main title in used_headers to prevent duplicate sub-headings.
- Fixed MD031: Added mandatory blank lines around Mermaid code fences in introduction.md.
- Fixed MD039: Stripped leading/trailing spaces from link titles to satisfy formatting rules.
- Defined explicit header bg/fg variables for light and dark modes.
- Forced color inheritance for search icons, titles, and buttons.
- Ensured logo SVG/IMG inherit current color (fill: currentColor).
- Hardened navigation tabs visibility with fixed white active states.
- Set header background to primary foreground color for high contrast.
- Ensured search icons and navigation tabs are visible in both themes.
- Refined glassmorphism effect for dark mode.
- Fixed MD025: Ensured only one H1 heading exists per document by starting internal headings at H2.
- Fixed MD024: Implemented a header deduplication mechanism using a per-file 'used_headers' set.
- Improved structure: Properly nested hierarchies to satisfy strict Markdown standards.
- Fixed dark mode visibility by setting proper text and tag luminosities in docs/static/v2_elite.css.
- Eliminated triple 'Explore Related' blocks by moving the injection outside recursion in src/v2_optimizer.py.
- Fixed 'Technical Deep-Dive' rendering by correcting Markdown indentation for collapsible blocks.