mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 00:39:47 +08:00
_add_inline_runs masks backslash escapes with the sentinel _MASK = '\x00' and pops one saved character per sentinel in _unmask. A NUL already present in the input collides with the sentinel but has no saved entry, so _unmask called deque.popleft() on an empty deque and raised IndexError, aborting the entire Word export. NUL is not valid XML text content, so strip it at the single inline-text choke point before masking. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 lines
0 B
Python
0 lines
0 B
Python
The file is empty.