18 lines
622 B
Java
18 lines
622 B
Java
|
package com.google.common.html;
|
||
|
|
||
|
import com.airbnb.deeplinkdispatch.UrlTreeKt;
|
||
|
import com.google.common.escape.Escaper;
|
||
|
import com.google.common.escape.Escapers;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public final class HtmlEscapers {
|
||
|
private static final Escaper HTML_ESCAPER = Escapers.builder().addEscape('\"', """).addEscape('\'', "'").addEscape('&', "&").addEscape(UrlTreeKt.configurablePathSegmentPrefixChar, "<").addEscape(UrlTreeKt.configurablePathSegmentSuffixChar, ">").build();
|
||
|
|
||
|
private HtmlEscapers() {
|
||
|
}
|
||
|
|
||
|
public static Escaper htmlEscaper() {
|
||
|
return HTML_ESCAPER;
|
||
|
}
|
||
|
}
|