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

InnerText gets repeated/duplicated when translate directive being used #1449

Open
maulikpatel-prescinto opened this issue Sep 25, 2023 · 0 comments

Comments

@maulikpatel-prescinto
Copy link

Hi,

We have been using Translation service in our Angular-v11 app. After recent upgrade to Angular 14, we are observing weird issue of InnerText was getting repeated/duplicated in html for span/div et.c elements.

.html file contains
<div class="form-group"> <h2 translate="Passcode"> Passcode </h2> </div>

Sample code:

Angular 11: https://stackblitz.com/edit/angular-multilingual-translation-u99brr

Angular 14: https://stackblitz.com/edit/angular-multilingual-translation-5knupy

Angular11
image

Angular 14 (twice)
image

Your quick help is really appreciated.

Regards,

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