Skip to content

sphinx + emphasized lines + line numbering in inline mode = unexpected result #1698

@joerg-vandervlies

Description

@joerg-vandervlies

Hi,

recently I read that sphinx will change the way lines are numbered in the next versions from table style to inline style. I made a quick test in my project and found that the combination of inline line numbers together with emphasized lines doesn't look right:

image

As you can see, the emphasized lines are incorrectly wrapped and I couldn't find a quick fix with custom css on my side.

Is this issue addressed correctly to this project and if so, can you confirm it's a bug? Or do I need to address this to the sphinx project?

kind regards
Jörg

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions