Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JulienPalard opened this issue Nov 19, 2022 · 0 comments
Open

Comments

@JulienPalard
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant