danielearwicker / carota

Simple, flexible rich text rendering/editing on HTML Canvas
Other
732 stars 145 forks source link

Fix html parser bug #47

Closed thisunravisara closed 5 years ago

thisunravisara commented 5 years ago

parsing empty html with styles e.g. <span style="color:red"></span> returns [] This PR is to return the runs with styles e.g. [{ text: '', color: 'red' }]

thisunravisara commented 5 years ago

This PR was created by mistake, This PR meant to be created for creately/carota :)