react-rich-diff
react-rich-diff copied to clipboard
parse div
Hey,
Thank you for the great package. However, i found that a situation like this
<div>Title</div>
<div>Content</div>
won't be handled. In fact, it won't respect the style ending up with something like this
<span>Title</span>
<span>Content</span>
losing the block
property of div. If we use a p element, this won't happen as it recognizes it.
Is there any easy way to solve this?