$('[data-expand-tags-list]').append("
  • \npipe<\/a>\n<\/li>\n
  • \nscotland<\/a>\n<\/li>\n
  • \nstaff<\/a>\n<\/li>\n"); $('[data-expand-tags]').remove();