fix: handle overlapping ranges of inline styles and entities corrently
fix: handle overlapping ranges of inline styles and entities corrently

I have refactored the current implementation to keep track of correct tag nesting using a stack data structure. Also I fixed some of the code duplication using the `openTag`, `closeTag` helper functions.

Rosey/markdown-draft-js