diff options
author | Vitaly Takmazov | 2016-12-09 16:14:27 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-12-09 16:14:27 +0300 |
commit | 559ae343aa72db04e12b94acfa0bec30ed9a11f1 (patch) | |
tree | 5832b97c6a6a4b565de15a474bae86059763d6bb /juick-spring-www/src/main/java/com/juick/www/util | |
parent | 22d30c3b50fe0ea4c18c45a4450fb1a8b1f1b1b8 (diff) |
juick-spring-www: merge some work from develop branch, port some templates to Thymeleaf
Diffstat (limited to 'juick-spring-www/src/main/java/com/juick/www/util')
-rw-r--r-- | juick-spring-www/src/main/java/com/juick/www/util/EncodeUtils.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/juick-spring-www/src/main/java/com/juick/www/util/EncodeUtils.java b/juick-spring-www/src/main/java/com/juick/www/util/EncodeUtils.java new file mode 100644 index 00000000..a444ec4d --- /dev/null +++ b/juick-spring-www/src/main/java/com/juick/www/util/EncodeUtils.java @@ -0,0 +1,10 @@ +package com.juick.www.util; + +/** + * Created by vitalyster on 09.12.2016. + */ +public class EncodeUtils { + public static String encodeSphinx(String str) { + return str.replaceAll("@", "\\\\@"); + } +} |