package j2html;

import java.util.Collections;

import j2html.utils.CSSMin;
import j2html.utils.EscapeUtil;
import j2html.utils.Indenter;
import j2html.utils.JSMin;
import j2html.utils.Minifier;
import j2html.utils.TextEscaper;

public class Config {

    private Config() {
    }

    /**
     * Change this to configure text-escaping
     * For example, to disable escaping, do 'Config.textEscaper = text -> text;'
     */
    public static TextEscaper textEscaper = EscapeUtil::escape;

    /**
     * Change this to configure css-minification.
     * The default minifier is https://github.com/barryvan/CSSMin
     */
    public static Minifier cssMinifier = CSSMin::compressCss;

    /**
     * Change this to configure js-minification.
     * The default minifier is a simple whitespace/newline stripper
     */
    public static Minifier jsMinifier = JSMin::compressJs;

    /**
     * Change this to configure indentation when rendering formatted html
     * The default is four spaces
     */
    private static String FOUR_SPACES = "    ";
    public static Indenter indenter = (level, text) -> String.join("", Collections.nCopies(level, FOUR_SPACES)) + text;


    /**
     * Change this to configure enable/disable closing empty tags (like <img/>)
     * The default is to NOT close them
     */
    public static boolean closeEmptyTags = false;

}

@@ -1242,22 +1242,8 @@
 tags
- (like %3Cimg/%3E)
 %0A   

Remove javadoc violation