package j2html.utils;

public interface TextEscaper {

    String escape(String text);

}

package j2html.utils;

@FunctionalInterface
public interface TextEscaper {
    String escape(String text);
}

Add @FunctionalInterface annotation to TextEscaper