Rabbit-R1/switch port/java/sources/com/google/common/html/HtmlEscapers.java
2024-05-21 17:08:36 -04:00

18 lines
610 B
Java

package com.google.common.html;
import com.google.common.escape.Escaper;
import com.google.common.escape.Escapers;
import kotlin.text.Typography;
@ElementTypesAreNonnullByDefault
/* loaded from: classes3.dex */
public final class HtmlEscapers {
private static final Escaper HTML_ESCAPER = Escapers.builder().addEscape(Typography.quote, """).addEscape('\'', "'").addEscape(Typography.amp, "&").addEscape(Typography.less, "<").addEscape(Typography.greater, ">").build();
public static Escaper htmlEscaper() {
return HTML_ESCAPER;
}
private HtmlEscapers() {
}
}