Converted valid_elements to extended_valid_elements so links will work