When I use html encoded content in an attribute self closing tags leads to the removal of the whole attribute.
Background & Context
Self closing tags like <br /> or <img /> are usually converted to single tags (<br>,<img>), which is totally fine.
Bug
Input
<p data-qtip="<br/>">foo</p>
Given output
<p>foo</p>
Expected output
<p data-qtip="<br>">foo</p>
Working example with single tag
When I'm using single tags, the output is as expected:
Input
<p data-qtip="<br>">foo</p>
Given output
<p data-qtip="<br>">foo</p>