mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
19 lines
610 B
Java
19 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() {
|
||
|
}
|
||
|
}
|