When I manually gut code from a sample, I like to leave a placeholder for it. For example, if I stumble across the following offensiveness
<div data-monkey="code" style="width:42px" aria-label="wrong" ng-poop="yup">
Foo
</div>
I might convert it to:
<div […] aria-label="wrong" […]>
Foo
</div>
Because in that scenario I am calling out the wrong thing, and care little for the just plain stupid things. I also do not add […] for every single thing I yank, just for contiguous things I yank.
I would like the ability to replace everything I might otherwise strip. The replacement could be a pre-filled configurable value such as […].
When I manually gut code from a sample, I like to leave a placeholder for it. For example, if I stumble across the following offensiveness
I might convert it to:
Because in that scenario I am calling out the wrong thing, and care little for the just plain stupid things. I also do not add
[…]for every single thing I yank, just for contiguous things I yank.I would like the ability to replace everything I might otherwise strip. The replacement could be a pre-filled configurable value such as
[…].