File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
cloudinary-core/src/main/java/com/cloudinary/utils Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ public class HtmlEscape {
2626 */
2727 public static String escapeTextArea (String original )
2828 {
29- return escapeSpecial ( escapeTags (original ));
29+ return escapeTags ( escapeSpecial (original ));
3030 }
3131
3232 /**
@@ -36,7 +36,7 @@ public static String escapeTextArea(String original)
3636 */
3737 public static String escape (String original )
3838 {
39- return escapeSpecial ( escapeBr (escapeTags (original )));
39+ return escapeBr (escapeTags ( escapeSpecial (original )));
4040 }
4141
4242 public static String escapeTags (String original )
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ public static String encodeHexString(byte[] bytes) {
7171 }
7272
7373 public static String escapeHtml (String input ) {
74- return HtmlEscape .escape (input );
74+ return HtmlEscape .escapeTextArea (input );
7575 }
7676
7777 public static boolean isNotBlank (Object input ) {
You can’t perform that action at this time.
0 commit comments