Skip to content

Commit

Permalink
Update testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
jhy committed Oct 18, 2023
1 parent 7a83ffe commit 545145a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 545145a

Please sign in to comment.