Skip to content

Indentation lost in lstlistings #5567

Description

@blefloch

Description

In a code listing formatted using the listings package, the leading space in every line is removed (in the HTML output). Colors and Unicode characters are correct.

(Optional:) Please add any files, screenshots, or other information here.

No response

(Required) What is this issue most closely related to? Select one.

Choose One

Internal issue ID

39182cff-9d74-4baf-a334-d715bbd566fa

Paper URL

https://arxiv.org/html/2512.07087v2

Browser

Firefox/146.0

Device Type

Laptop

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugTechnical issues and errors that impact the functionalitykudospositive feedback 🥰listingsIssues related to LaTeX listings, when converted with LaTeXML

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions