Skip to content

Cannot detect missing-underscore-after-hyperlink with line break #140

@ghost

Description

sphinx-lint does not detect missing-underscore-after-hyperlink when the link contains a newline:

`Link text
<https://example.com/>`

This seems to be because the check_missing_underscore_after_hyperlink function checks each line; it should (like other checker functions) check each paragraph.

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