react-rich-diff icon indicating copy to clipboard operation
react-rich-diff copied to clipboard

parse div

Open samuxyz opened this issue 7 years ago • 0 comments

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?

samuxyz avatar Aug 21 '17 10:08 samuxyz