File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616public class Transformation {
1717 protected Map transformation ;
1818 protected List <Map > transformations ;
19- private String htmlWidth ;
19+ protected String htmlWidth ;
2020 protected String htmlHeight ;
2121
2222 // Warning: options will destructively updated!
@@ -105,7 +105,7 @@ public String generate(Map options) {
105105 String crop = (String ) options .get ("crop" );
106106 String angle = StringUtils .join (Cloudinary .asArray (options .get ("angle" )), "." );
107107
108- boolean no_html_sizes = has_layer || StringUtils .isNotBlank (angle ) || "fit" .equals (crop ) || "limit" .equals (" crop" );
108+ boolean no_html_sizes = has_layer || StringUtils .isNotBlank (angle ) || "fit" .equals (crop ) || "limit" .equals (crop );
109109 if (width != null && (Float .parseFloat (width ) < 1 || no_html_sizes )) {
110110 this .htmlWidth = null ;
111111 }
You can’t perform that action at this time.
0 commit comments