Safe Html v-safe-html Documentation Confusion
Sorry I'm not overly familiar with the project (gitlab-ui) and the documentation etc but there are a few things that strike me as odd:
https://gitlab-org.gitlab.io/gitlab-ui/?path=/docs/directives-safe-html-directive--default
Renders the example like:
So the <img
tag is actually being rendered? Isn't the entire purpose of v-safe-html
to NOT render HTML?
I also find it slightly niggling at my OCD that the example https://gitlab.com/gitlab-org/gitlab-ui/-/blob/main/src/directives/safe_html/examples/safe_html.basic.example.vue has a few subtle differences from that https://gitlab.com/gitlab-org/gitlab-ui/-/blob/main/src/directives/safe_html/safe_html.md
Should we align them? And/or is there an effort to prevent the need to duplicate the examples?
Thanks!