Skip to content

fix: stabilize Gemini formatting and selected-text copy (5.0.5) - #4

Merged
kangjoseph90 merged 3 commits into
mainfrom
fix/citation-inline-rendering
Oct 14, 2026
Merged

kangjoseph90 merged 3 commits into
mainfrom
fix/citation-inline-rendering

Conversation

@kangjoseph90

@kangjoseph90 kangjoseph90 commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

Gemini paragraphs containing PNG/source chips previously skipped all repair, leaving broken Markdown/LaTeX and configured bold colors unapplied. Version 5.0.5 repairs surrounding text while keeping original citation/response widgets live, and includes the follow-up rendering and selected-copy fixes in this same version.

  • Preserve links, controls, and nested mixed text/widget spans through manual slots on existing hosts. Original nodes, attributes, parents, handlers, and component lifecycle remain intact. Structural widget arrival renders before paint; retained nested hosts continue repairing after widget removal; disable/fallback/destroy retain minimal native passthrough.
  • Reconstruct composed selected ranges for HTML and plain-text copy, including partial formatting, multiple shadow paragraphs, and live slotted citations. Exclude hidden originals and duplicate KaTeX MathML. Native/editor/button selections keep their original copy path; MathML remains accessible.
  • Support inert sanitizer metadata, dir-split tokens, native CSS/theme updates, boxed spans, sup/sub/mark, currency unit suffixes, display/custom math finalization, and bare text-only lists projected through their existing supported parent. Shared extension/userscript engine remains 5.0.5; README stays concise.

Validation: all 91 browser tests pass (19 added to the initial citation fix), including real MV3 popup/storage integration, retained source identity, widget focus/handlers/lifecycle, streaming completion/toggles, list layout, and pointer-selected copy across shadow/native boundaries. Copy tests use mocked ClipboardEvents. Generated userscript consistency and git diff checks pass. Updated the installed test extension and verified the reported live Gemini paragraph: configured bold color applies and the original PNG source popup opens by keyboard. Streaming edge cases are verified with simulated Gemini DOM updates.

@kangjoseph90 kangjoseph90 changed the title fix: repair text around live citation and response widgets fix: stabilize Gemini formatting and selected-text copy (5.0.5) Oct 14, 2026
@kangjoseph90
kangjoseph90 merged commit 6f9ae9a into main Oct 14, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant