feat: allow unsafe links via the isUnsafeLink prop
This creates a SafeLinkMixin that installs the SafeLinkDirective and exposes a isUnsafeLink prop. This new mixin is applied to GlLink and GlButton. This change lets us render unsafe link with either component when necessary. Specifically, this aims at skipping the href sanitization step when rendering download links with Data URLs.
Loading
-
mentioned in commit 18942acc
-
mentioned in merge request gitlab!61606 (merged)
-
mentioned in merge request gitlab-org/gitlab-services/design.gitlab.com!2368 (merged)
-
mentioned in merge request status-page!287 (merged)
-
mentioned in merge request gitlab-org/gitlab-services/design.gitlab.com!2373 (closed)
-
mentioned in merge request gitlab-docs!1803 (merged)
Please register or sign in to comment