sphinx-lint icon indicating copy to clipboard operation
sphinx-lint copied to clipboard

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

Open JulienPalard opened this issue 3 years ago • 0 comments
trafficstars

As mentionned in https://github.com/python/python-docs-es/issues/2200#issuecomment-1320770780:

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.

JulienPalard avatar Nov 19 '22 09:11 JulienPalard