Scoped labels rendering is broken in TODOs
Notice that the tooltip has HTML and the docs icon link is missing.
Root cause
When we render notes in todos, we remove images and provide a whitelist of attributes. This also strips out the data-html="true"
that we set causing the tooltip to be rendered that way. We should probably add data-html
to the whitelist.
We also remove empty links because we were assuming that these are left behind after removing the images. This also removes the docs link in scoped labels.
cc @fguibert