replacing HTML is tricky, We are using Nokogiri, but that will modify the DOM layout sometimes:
- indention is changed
- Empty nodes that are nonstandard
<MyComponent/> might be expanded
- Empty attributes such as
v-b-tooltip> might be expanded to ``v-b-tooltip=""`
There are already a couple of workarounds in place work around those issues, but might need more.