public static String removeTags(String text, List<Tag> tagsToRemove) {
    if (StringUtils.isBlank(text)) {
      return text;
    }
    var textCopy = new AtomicReference<>(text);
    tagsToRemove.forEach(tagToRemove -> textCopy.set(removeTag(textCopy.get(), tagToRemove)));
    return textCopy.get();
  }
@Test
  public void removeTags_specialCharsKept () {
    String text = "<>[],-.(){}!?\n\t text";
    String testString = text + " " + TAG1.getText();

    String result = TagsHelper.removeTags(testString, singletonList(TAG1));

    assertEquals(text, result);
  }