mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-03 09:20:08 +08:00
The marker lines the extractor embeds ([图片 N: image-NN.png]) rendered as literal text in the body with the pictures collected in a separate strip below the article, each captioned with its filename. Render the picture itself at the marker's position instead — the marker text stays in the DOM under the same HiddenMark pattern every other collapsed marker uses, so Recogito's char-level selectors still resolve against the exact text an annotation was saved against. A picture whose media row is missing keeps its literal marker, and anything the inline renderer cannot claim falls back to the strip. Also accept catalog-minted rm_ material ids in the reader's wire validators (turn state, references, location history, citation anchors), matching the id shape the store already accepts.