Commit 3fd35c2f authored by Paul Gascou-Vaillancourt's avatar Paul Gascou-Vaillancourt
Browse files

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.
parent 8fd31c85
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment