@gitlab/ui
Version:
GitLab UI Components
12 lines (8 loc) • 586 B
JavaScript
import examples from './examples';
var description = "## Additional notes\nWhen setting target to `_blank`, the rel attribute gets set automatically to \"noopener noreferrer\", this is done to avoid the `window.opener` [API exploit]. If you set the `rel` attribute manually, this will overwrite the aforementioned logic.\n\n[API exploit]: https://www.jitbit.com/alexblog/256-targetblank---the-most-underestimated-vulnerability-ever/\n";
var link_documentation = {
description: description,
examples: examples,
bootstrapComponent: 'b-link'
};
export default link_documentation;