$('[data-expand-tags-list]').append("
  • \nle quesnoy<\/a>\n<\/li>\n
  • \nnationhood<\/a>\n<\/li>\n
  • \nquesnoy<\/a>\n<\/li>\n
  • \nveteran<\/a>\n<\/li>\n
  • \nworld war 1<\/a>\n<\/li>\n
  • \nworld war one<\/a>\n<\/li>\n
  • \nww1<\/a>\n<\/li>\n
  • \nwwi<\/a>\n<\/li>\n"); $('[data-expand-tags]').remove();