Skip to content

[Bug]: Don't set undefined id in the text layer for marked content #20102

@calixteman

Description

@calixteman

Attach (recommended) or Link to PDF file

undefined_id.pdf

Web browser and its version

Firefox nightly

Operating system and its version

Windows 11

PDF.js version

last one

Is the bug present in the latest PDF.js version?

Yes

Is a browser extension

No

Steps to reproduce the problem

The span for the marked content has an undefined id.
Image

What is the expected behavior?

Having no undefined ids.

What went wrong?

See the above screenshot

Link to a viewer

No response

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions