diff options
author | Vitaly Takmazov | 2016-07-12 17:39:33 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-07-12 17:39:33 +0300 |
commit | bdbf65e0a50758bfcc88e1cc9c501eeed4e7e45d (patch) | |
tree | 756e8b29b2442c82ae50a3548c772f4a65b6d1ef /juick-www/src/main/java/com/juick/www/PageTemplates.java | |
parent | 291da35b1bf7dcd66bf621160f907872fd0f7825 (diff) |
jackson-databind WIP
Diffstat (limited to 'juick-www/src/main/java/com/juick/www/PageTemplates.java')
-rw-r--r-- | juick-www/src/main/java/com/juick/www/PageTemplates.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/juick-www/src/main/java/com/juick/www/PageTemplates.java b/juick-www/src/main/java/com/juick/www/PageTemplates.java index 0bb17ff0..c570ae7f 100644 --- a/juick-www/src/main/java/com/juick/www/PageTemplates.java +++ b/juick-www/src/main/java/com/juick/www/PageTemplates.java @@ -191,9 +191,9 @@ public class PageTemplates { public static String formatTags(List<Tag> tags) { String ret = ""; for (Tag tag : tags) { - String tagName = tag.Name.replaceAll("<", "<").replaceAll(">", ">"); + String tagName = tag.getName().replaceAll("<", "<").replaceAll(">", ">"); try { - ret += " *<a href=\"/tag/" + URLEncoder.encode(tag.Name, "utf-8") + "\""; + ret += " *<a href=\"/tag/" + URLEncoder.encode(tag.getName(), "utf-8") + "\""; if (tag.UsageCnt < 2) { ret += " rel=\"nofollow\""; } |