Skip to content

fix(math): preserve annotation-xml boundaries - #425

Closed
RovshanMuradov wants to merge 1 commit into
kepano:mainfrom
RovshanMuradov:fix/annotation-xml-boundary
Closed

RovshanMuradov wants to merge 1 commit into
kepano:mainfrom
RovshanMuradov:fix/annotation-xml-boundary

Conversation

@RovshanMuradov

@RovshanMuradov RovshanMuradov commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #423

LaTeX extraction read text and TeX scripts from inside annotation-xml, mixing alternative encodings into the result. annotation-xml is now ignored for extraction (it stays in the HTML output), and its encoding attribute is kept.

@RovshanMuradov
RovshanMuradov marked this pull request as ready for review October 12, 2026 07:28
@RovshanMuradov
RovshanMuradov marked this pull request as draft October 12, 2026 08:30
@RovshanMuradov

Copy link
Copy Markdown
Contributor Author

Closing to keep the review queue small: on six real arXiv HTML papers (~10k formulas) this change makes no difference to the extracted HTML or Markdown. Happy to reopen if a real page needs it.

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.

MathML annotation-xml loses its boundary and HTML integration-point encoding

1 participant