Rabbit-R1/switch port/java/sources/com/google/common/html/HtmlEscapers.java

19 lines
610 B
Java
Raw Normal View History

2024-05-21 21:08:36 +00:00
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() {
}
}