Skip to content

sphinx-lint does not detect inline emphasis glued to inline literal. #52

@JulienPalard

Description

@JulienPalard

As mentionned in python/python-docs-es#2200 (comment):

some words *with stars*``backtick-words``

is detected as valid by sphinx-lint, while it is not:

$ rst2pseudoxml tests/fixtures/xfail/inline-literal-glued-to-emphasis.rst 
tests/fixtures/xfail/inline-literal-glued-to-emphasis.rst:1: (WARNING/2) Inline emphasis start-string without end-string.
<document source="tests/fixtures/xfail/inline-literal-glued-to-emphasis.rst">
    <paragraph>
        some words 
        <problematic ids="id2" refid="id1">
            *
        with stars*``backtick-words``.
    <system_message backrefs="id2" ids="id1" level="2" line="1" source="tests/fixtures/xfail/inline-literal-glued-to-emphasis.rst" type="WARNING">
        <paragraph>
            Inline emphasis start-string without end-string.

But it is detected by docutils so it's not a big issue.

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