question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

em and strong doesnt render correctly in ios

See original GitHub issue

Is there an additional configuration that will needs to be done for em and strong tags to render correctly on ios?

It’s properly working on android. Used tagsStyles but i got no luck

tagsStyles={{
     em: { fontStyle: "italic", color: blue },
      strong: { fontWeight: "900", color: blue }
}}

thanks for the help

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
guschildscommented, Jul 24, 2019

As a heads up for others: I realized that the text that was properly bold and/or italic on Android was being rendered through the System font instead of the custom font we were using for all text. I achieved the same behavior on iOS by adding this to my tagsStyles:

    strong: {
      fontFamily: 'System',
    },
    em: {
      fontFamily: 'System',
    },

It’s not ideal, but in our case, it’s better than not being bold or italic at all.

0reactions
jsamrcommented, Sep 19, 2022

Well, you edited your post to remove the “bug” wording 🤷🏻 in the code comment.

Read more comments on GitHub >

github_iconTop Results From Across the Web

em and strong doesnt render correctly in ios #218 - GitHub
As a heads up for others: I realized that the text that was properly bold and/or italic on Android was being rendered through...
Read more >
CSS doesn't render correctly on iOS when zooming in
My CSS works pretty well when rendered on a desktop browser, even when I zoom in. However, on an iOS device, zooming in...
Read more >
Rendering Issues in iOS 8 and Above > Litmus
I have an email that used to render perfectly in iOS 8 and above but for some reason it doesn't anymore. The 20px...
Read more >
Airmail doesn't render some HTML emails correctly.
For example, I am using Unroll.me and the emails look dreadful. They render fine in Apple's Mail but don't work correctly in Airmail....
Read more >
Automatically fill in your information in Safari on iPhone
In Safari on iPhone, use AutoFill to automatically fill in credit card ... you can let iPhone create and save strong passwords for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found