-
Notifications
You must be signed in to change notification settings - Fork 219
Description
Describe the problem
The expected behaviour of footnotes with text before and after when they are translated is wrong (without text, everything seems to be ok).
The reference to footnotes like [^2] doesn't work. The only way that I can reference to footnotes is [^2]: , but this way works only if the footnotes doesn't have text before and after.
It fails with:
footnotes_i18n/source/introduction.md:8: WARNING: inconsistent footnote references in translated message. original: ['[^2]'], translated: []
Link to your repository or website
https://github.com/ValentinConstantin/footnotes_i18n
Steps to reproduce
python3 -m venv .venv
source .venv/bin/activate
pip install pip wheel setuptools
pip install -r requirements.txt
make -e SPHINXOPTS="-v -D language='fr'" html
xdg-open build/html/index.html
make -e SPHINXOPTS="-v -D language='en'" html
The version of Python you're using
Python 3.9.8
Your operating system
No response
Versions of your packages
No response
Additional context
No response