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

Italic/kursiv text in title looses bold formatting #2750

Open
xmrsa opened this issue Nov 25, 2024 · 0 comments
Open

Italic/kursiv text in title looses bold formatting #2750

xmrsa opened this issue Nov 25, 2024 · 0 comments
Labels
kind/bug Something isn't working status/triage

Comments

@xmrsa
Copy link

xmrsa commented Nov 25, 2024

Description of the bug

When I have a text in the resource.json-file defined with the text _aksjekapital_ to get italic/kursiv, the text looses its bold property in the title text.

Image

I have to use both a bold tag and the italic tag **_aksjekapital_** to get the expected result:
Image

Ivar Nesje explains the reason for this is that the title uses medium weight (500) and there bold italic font is not supported. When you write we change to weight 700 which supports bold italic.

Steps To Reproduce

  1. Use a text containing _italic_ text as a "title" for an "Input"-field.

Additional Information

No response

@xmrsa xmrsa added the kind/bug Something isn't working label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working status/triage
Projects
Status: No status
Development

No branches or pull requests

1 participant