Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecating HtmlEscapePlace and HtmlEscape utility #882

Merged
merged 1 commit into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/main/java/emissary/transform/HtmlEscapePlace.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import static emissary.core.constants.Parameters.SUFFIXES_HTML_ESCAPE;
import static emissary.core.constants.Parameters.SUMMARY;

@Deprecated(forRemoval = true)
public class HtmlEscapePlace extends ServiceProviderPlace {

/**
Expand Down
1 change: 1 addition & 0 deletions src/main/java/emissary/transform/decode/HtmlEscape.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import java.util.regex.Pattern;
import javax.annotation.Nullable;

@Deprecated(forRemoval = true)
public class HtmlEscape {

/* our logger */
Expand Down
1 change: 1 addition & 0 deletions src/test/java/emissary/transform/HtmlEscapePlaceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import static emissary.core.constants.Parameters.SUMMARY;
import static org.junit.jupiter.api.Assertions.assertEquals;

@Deprecated(forRemoval = true)
public class HtmlEscapePlaceTest extends ExtractionTest {

public static Stream<? extends Arguments> data() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertNull;

@Deprecated(forRemoval = true)
class HtmlEscapeTest extends UnitTest {

private static final String W = "Президент Буш";
Expand Down