Open anidhamal opened 1 year ago
How to have <p> html tag behave same as Android's Html class.
<p>
I'm using HtmlPlugin which handles default tags including <p>
Markwon.builder(context) .usePlugin(HtmlPlugin.create())
It seems, it's internally adding new line for paragraph content. If we see Android's Html class, it adds two new lines for <p> content.
How should I go about it to add additional new line? Is there any way to modify text content to add new line before rendering?
eg
<p>Thanks<br>a lot!</p><p>Please follow these instructions</p>
How to have
<p>
html tag behave same as Android's Html class.I'm using HtmlPlugin which handles default tags including
<p>
It seems, it's internally adding new line for paragraph content. If we see Android's Html class, it adds two new lines for
<p>
content.How should I go about it to add additional new line? Is there any way to modify text content to add new line before rendering?
eg