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

frontend: improve simple markup parsing #3055

Conversation

thisconnect
Copy link
Collaborator

The SimpleMarkup component allows translations to contian a strong element to emphasize parts of the text.

There is a bug that if the same translation contains newlines it renders the strong element as text.

Changed to that the regex takes multiline into account.

The SimpleMarkup component allows translations to contian a strong
element to emphasize parts of the text.

There is a bug that if the same translation contains newlines it
renders the strong element as text.

Changed to that the regex takes multiline into account.
Copy link
Collaborator

@shonsirsha shonsirsha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thisconnect thisconnect merged commit f3b21b0 into BitBoxSwiss:master Nov 19, 2024
7 checks passed
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

Successfully merging this pull request may close these issues.

2 participants