You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Crossref work lookup returns raw JATS markup in the abstract #13242
get_crossref_work in plugins/omi-crossref-app/main.py returns raw JATS tags in its plain-text result. Crossref's public response for 10.7554/eLife.45374 contains <jats:p>…</jats:p> in message.abstract; the handler calls clean(), which only applies html.unescape(...).strip(), then truncates the markup-bearing value to 1,200 characters. Executing the current handler and helpers against that captured public response reproduces Abstract: <jats:p>A number of studies…</jats:p> in the returned result. This is a tool-response reproduction, not a claim about deployed UI rendering. The bounded reproduction executed the production function bodies with the provider response replaced by a fixture and framework model constructors replaced by simple objects; the full HTTP route has not been verified.
Could this be considered for a suggested $50 bounty under the contribution guide's bounty-proposal invitation? The proposed scope is a small plain-text normalization fix before the output cap, preserving paragraph separation and literal text/entity semantics (including escaped angle brackets), with focused hermetic regression coverage for this real Crossref response and inline/multi-paragraph markup. The amount and eligibility are unconfirmed; I would wait for scope/reward confirmation before implementing.
Activity
Nukeys commentedon Sep 11, 2026
Opened PR #13525. Crossref abstracts have JATS tags stripped.
fix(crossref): strip JATS markup from abstracts (#13525)