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

[FR] Adapt "siecle" output #1516

Closed
BoboTiG opened this issue Jan 16, 2023 · 2 comments · Fixed by #1520
Closed

[FR] Adapt "siecle" output #1516

BoboTiG opened this issue Jan 16, 2023 · 2 comments · Fixed by #1520

Comments

@BoboTiG
Copy link
Owner

BoboTiG commented Jan 16, 2023

Wikicode:

{{siècle|lang=fr|{{2e}} moitié du X{{e}} siècle}}

Output:

<i>(2<sup>e</sup> moitié du X<sup>e</sup> siècle<sup>e</sup> siècle)</i>

Expected:

<i>(2<sup>e</sup> moitié du X<sup>e</sup> siècle)</i>
@lasconic
Copy link
Collaborator

https://fr.wiktionary.org/wiki/Mod%C3%A8le:si%C3%A8cle

@lasconic
Copy link
Collaborator

I don't have time to code in the next hours, but my understanding is that it has nothing to do with "siècle" being in the argument but it's because of "X{{e}}" not being detected and handled by the wiktionary software. See https://fr.wiktionary.org/wiki/Module:date_et_heure#L-64

@BoboTiG BoboTiG changed the title [FR] Fix "siecle" output with an argument containing the word "siècle" [FR] Adapt "siecle" output Jan 16, 2023
lasconic added a commit to lasconic/ebook-reader-dict that referenced this issue Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants