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

T component doesn't recognize self closing tag #2140

Closed
EtienneGuilletPackative opened this issue Feb 22, 2024 · 1 comment
Closed

T component doesn't recognize self closing tag #2140

EtienneGuilletPackative opened this issue Feb 22, 2024 · 1 comment
Assignees

Comments

@EtienneGuilletPackative

The self closing tag are not recognized by the T component

Example:

<T keyName="some-key-name" defaultValue="This is my first line.<br />This is my second line." params={{ br: () => <br /> }} />

It's not a big deal since we can use it as a non self-closing tag like <br></br> but it would be cool if it worked! 😄

@stepan662
Copy link
Contributor

This is a duplicate issue tolgee/tolgee-js#3101

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