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

Translating hyperlinks <a> leaves untranslated text behind. #414

Open
AndreBaumeier opened this issue Jul 25, 2024 · 1 comment
Open

Translating hyperlinks <a> leaves untranslated text behind. #414

AndreBaumeier opened this issue Jul 25, 2024 · 1 comment

Comments

@AndreBaumeier
Copy link

I am seeing issues applying translations for hyperlinks by using --translate-tags a,h1,h2,h3,div,p the link itself will be translated, but any text before or after within the paragraph is left in the original language.

<p>Some text before, <a href="#">some link</a>: some text after</p>

becomes (german as an example).

<p>Some text before, <a href="#">irgendein Link</a>: some text after</p>

@yihong0618
Copy link
Owner

will check that, thanks sorry I left this repo for some time, will figure out this week or maybe later

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

2 participants