@Override
  public void split(@Nullable String text, @NotNull TextRange range, Consumer<TextRange> consumer) {
    if (text == null || StringUtil.isEmpty(text)) {
      return;
    }

    List<TextRange> toCheck = excludeByPattern(text, range, HTML, 2);
    final Splitter ps = PlainTextSplitter.getInstance();
    for (TextRange r : toCheck) {
      ps.split(text, r, consumer);
    }
  }
@Override
  public void split(@Nullable String text, @NotNull TextRange range, Consumer<TextRange> consumer)