i want to remove empty p tag and   from dynamic html content.
below is html content retrieved from api response. empty p tag and   creates unwanted whitespace. i want to remove unwanted whitespace.
i am using react-native-render-html package to display the html content.
expo sdk : 38
react-native-render-html : ~1.9.0
platform : Android,Ios
<p> </p>
<p>   </p>