tbranyen/diffhtml

Dot in attribute name

rzhornyk opened this issue · 1 comments

Using diffhtml I faced with issue when in attribute name present dot parser not properly handle it.
Example:
Input markup
<div data-event-click.prevent="handleClick"></div>
Result of applying will be:
<div data-event-click="data-event-click" prevent="handleClick"></div>

P.S. Very nice library! Good job!

Here is suggested fix #204