Skip to main content
4 events
when toggle format what by license comment
Aug 31, 2023 at 18:26 comment added mbomb007 This would add to the attribute even if already set to noopener noreferrer. The Noopener Filter module does it like above, but adds if (empty($variables['options']['attributes']['rel']) || !in_array('noopener', $variables['options']['attributes']['rel'], TRUE)) {. It also has it as an array, not a string. Like $variables['options']['attributes']['rel'][] = 'noopener';
Feb 12, 2021 at 10:34 history rollback Colin Shipton
Rollback to Revision 1
Feb 11, 2021 at 9:20 history edited avpaderno CC BY-SA 4.0
improved formatting
Feb 10, 2021 at 9:14 history answered Colin Shipton CC BY-SA 4.0