diff --git a/owasp-java-html-sanitizer/src/main/java/org/owasp/html/CssSchema.java b/owasp-java-html-sanitizer/src/main/java/org/owasp/html/CssSchema.java
index d25404c1..edb1c054 100644
--- a/owasp-java-html-sanitizer/src/main/java/org/owasp/html/CssSchema.java
+++ b/owasp-java-html-sanitizer/src/main/java/org/owasp/html/CssSchema.java
@@ -472,8 +472,10 @@ Property forKey(String propertyName) {
Set whiteSpaceLiterals0 = j8().setOf(
"-moz-pre-wrap", "-o-pre-wrap", "-pre-wrap", "nowrap", "pre",
"pre-line", "pre-wrap");
+ Set wordBreakLiterals0 = j8().setOf(
+ "break-all", "break-word", "keep-all", "normal");
Set wordWrapLiterals0 = j8().setOf(
- "break-word", "normal");
+ "anywhere", "break-word", "normal");
Set rgb$FunLiterals0 = j8().setOf(",");
Set linearGradient$FunLiterals0 = j8().setOf(
",", "to");
@@ -483,7 +485,7 @@ Property forKey(String propertyName) {
Set radialGradient$FunLiterals1 = j8().setOf(
",", "center", "circle");
Set rect$FunLiterals0 = j8().setOf(",", "auto");
- //Set alpha$FunLiterals0 = j8().setOf("=", "opacity");
+ //Set alpha$FunLiterals0 = j8().setOf("=", "opacity");
Property mozBorderRadius =
new Property(5, mozBorderRadiusLiterals0, zeroFns);
builder.put("-moz-border-radius", mozBorderRadius);
@@ -747,6 +749,7 @@ Property forKey(String propertyName) {
Property whiteSpace = new Property(
0, union(fontStyleLiterals0, whiteSpaceLiterals0), zeroFns);
builder.put("white-space", whiteSpace);
+ builder.put("word-break", new Property(0, wordBreakLiterals0, zeroFns));
builder.put("word-wrap", new Property(0, wordWrapLiterals0, zeroFns));
builder.put("zoom", new Property(1, fontStretchLiterals1, zeroFns));
Property rgb$Fun = new Property(1, rgb$FunLiterals0, zeroFns);