Closed DeepakSharma04 closed 2 years ago
To be able to reproduce, I would need the HTML code you are trying to render.
HTML code
<div>asd</div>
<div>
<br>
</div>
<div>asda</div>
<div>as</div>
<div>
<br>
</div>
<div>asda</div>
<div>
<br>
</div>
<div>asd</div>
<div>
<br>
</div>
@DeepakSharma04 I took almost the same HTML snippet as you, just wrapped in a div to colorize background:
<!DOCTYPE html><body>
<div style="background-color: purple">
<div>asd</div>
<div>
<br />
</div>
<div>asda</div>
<div>as</div>
<div>
<br />
</div>
<div>asda</div>
<div>
<br />
</div>
<div>asd</div>
<div>
<br />
</div>
</div>
</body>
This is what I get in a browser (Firefox):
And this is what I get on Android with react-native-render-html@6.3.4
:
I don't see any discrepancies in spacing. See this snack for a reproduction: https://snack.expo.dev/@jsamr/rnrh-585
Hi @jsamr , I am facing this issue in IOS APP please help...!! First html content is good if I used this library -> react-native-htmlview
But if I used this -> react-native-render-html , Second html content shows vertical space .
Originally posted by @DeepakSharma04 in https://github.com/meliorence/react-native-render-html/issues/516#issuecomment-1248978401