'react-native-render-html' do not render <b></b> and <i></i> as expected on iOS but does on Android

Viewed 543

I am using 'react-native-render-html' to render html from my admin panel app but on the react native application on my devices text is bold and italic in Android device and is not on iPhone. What could be the reason ?

This is how it looks in Android, first 2 list items are bold and italic respectively

and this is how it looks on iPhone, no bold and no italic

Following is the code i have used

<HTML
        html={story.item.summary}
        baseFontStyle={styles.summaryText}
        containerStyle={styles.summaryHTMLContainer}
      />

This is what I get with console.log(story.item.summary)

0 Answers
Related