We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Minimal reproduction in a test case:
import {I18n} from '@ngx-translate/i18n-polyfill'; import {MissingTranslationStrategy} from '@angular/core'; describe('i18n-polyfill', () => { it('keeps attributes around', () => { const translate = new I18n('xlf', '', 'en-US', MissingTranslationStrategy.Ignore); const str = `It's <span class="blue">you</span> versus <span class="red">them</span>!`; const result = translate(str); expect(result).toBe(str); }); });
This test fails with:
Expected 'It's <span>you</span> versus <span>them</span>!' to be 'It's <span class="blue">you</span> versus <span class="red">them</span>!'.
The text was updated successfully, but these errors were encountered:
Can this be merged?
Sorry, something went wrong.
Same problem here
Successfully merging a pull request may close this issue.
Minimal reproduction in a test case:
This test fails with:
The text was updated successfully, but these errors were encountered: