Skip to content

Role :spelling:word: renders as :spelling:word:<word> instead of just <word> #188

@ngulden

Description

@ngulden

I have a document in English with German translation using gettext.

In my German translation I mark words as correct spelled in the PO file:

:spelling:word:`move`

Unfortunately, the HTML output is the same:

:spelling:word:`move`

I have the same behavior, when I use the role in the English originating language of the document.

To me, it looks broken. This behavior makes the role useless to me, because the rendered HTML prints the role definition completely instead just the word.

The spellcheck works though. The marked words are not considered as miss spelled.

I use Sphinx 4.5.0 and sphinxcontrib-spelling version 7.6.0.

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