diff --git a/src/test/java/org/jsoup/integration/SafelistExtensionTest.java b/src/test/java/org/jsoup/integration/SafelistExtensionTest.java index 82f9316aaa..c8796f2d72 100644 --- a/src/test/java/org/jsoup/integration/SafelistExtensionTest.java +++ b/src/test/java/org/jsoup/integration/SafelistExtensionTest.java @@ -33,14 +33,14 @@ public OpenSafelist(Safelist safelist) { } @Override - protected boolean isSafeAttribute(String tagName, Element el, Attribute attr) { + public boolean isSafeAttribute(String tagName, Element el, Attribute attr) { if (attr.getKey().startsWith("open")) return true; return super.isSafeAttribute(tagName, el, attr); } @Override - protected boolean isSafeTag(String tag) { + public boolean isSafeTag(String tag) { if (tag.startsWith("open")) return true; return super.isSafeTag(tag);