diff --git a/src/main/java/org/owasp/validator/css/CssValidator.java b/src/main/java/org/owasp/validator/css/CssValidator.java index ebe7102..f87e2e9 100644 --- a/src/main/java/org/owasp/validator/css/CssValidator.java +++ b/src/main/java/org/owasp/validator/css/CssValidator.java @@ -199,13 +199,13 @@ public boolean isValidCondition(String selectorName, Condition condition) throws policy.getCommonRegularExpressions("cssIDSelector"), policy.getCommonRegularExpressions("cssIDExclusion")); case Condition.SAC_PSEUDO_CLASS_CONDITION: - // this is a basic psuedo element condition; compare condition + // this is a basic pseudo-element condition; compare condition // against valid pattern and is not blacklisted by exclusion pattern return validateCondition( (AttributeCondition) condition, policy.getCommonRegularExpressions("cssPseudoElementSelector"), - policy.getCommonRegularExpressions("cssPsuedoElementExclusion")); + policy.getCommonRegularExpressions("cssPseudoElementExclusion")); case Condition.SAC_BEGIN_HYPHEN_ATTRIBUTE_CONDITION: case Condition.SAC_ONE_OF_ATTRIBUTE_CONDITION: case Condition.SAC_ATTRIBUTE_CONDITION: diff --git a/src/main/resources/antisamy-anythinggoes.xml b/src/main/resources/antisamy-anythinggoes.xml index b872694..1c3b330 100644 --- a/src/main/resources/antisamy-anythinggoes.xml +++ b/src/main/resources/antisamy-anythinggoes.xml @@ -67,8 +67,8 @@ - - + + diff --git a/src/main/resources/antisamy-ebay.xml b/src/main/resources/antisamy-ebay.xml index f8af1f6..f947548 100644 --- a/src/main/resources/antisamy-ebay.xml +++ b/src/main/resources/antisamy-ebay.xml @@ -65,8 +65,8 @@ - - + + diff --git a/src/main/resources/antisamy-myspace.xml b/src/main/resources/antisamy-myspace.xml index 3694496..496e913 100644 --- a/src/main/resources/antisamy-myspace.xml +++ b/src/main/resources/antisamy-myspace.xml @@ -67,8 +67,8 @@ - - + + diff --git a/src/main/resources/antisamy.xml b/src/main/resources/antisamy.xml index b6ef1f8..9872384 100644 --- a/src/main/resources/antisamy.xml +++ b/src/main/resources/antisamy.xml @@ -71,8 +71,8 @@ - - + +