From 3606d68de63064f8c44b124f089a909820f97058 Mon Sep 17 00:00:00 2001
From: zPlus <->
Date: Mon, 27 Mar 2017 17:10:05 +0200
Subject: [PATCH] Fix #46 Validation problems for users that have a space in
their username
---
template/comment.twig | 2 +-
template/edit_comment.twig | 2 +-
template/edit_post.twig | 2 +-
template/index.twig | 2 +-
template/post.twig | 2 +-
template/reply.twig | 2 +-
template/search.twig | 2 +-
template/user_replies.twig | 2 +-
8 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/template/comment.twig b/template/comment.twig
index 580f0bb3..4914c26e 100644
--- a/template/comment.twig
+++ b/template/comment.twig
@@ -8,7 +8,7 @@
diff --git a/template/index.twig b/template/index.twig
index 4c6694d3..8bcdb59f 100644
--- a/template/index.twig
+++ b/template/index.twig
@@ -54,7 +54,7 @@ _\(/_ .:.*_\/_* : /\ :
%}
{{ post.created|ago }}
- by {{ post.username }}
+ by {{ post.username }}
—
{{ post.commentsCount ? post.commentsCount }} comments
diff --git a/template/post.twig b/template/post.twig
index 6376ca25..cad9509c 100644
--- a/template/post.twig
+++ b/template/post.twig
@@ -23,7 +23,7 @@
} only
%}
- by {{ post.username }} {{ post.created|ago }}
+ by {{ post.username }} {{ post.created|ago }}
— {{ post.vote }} votes, {{ post.commentsCount }} comments
{% if user and post.userId == user.id %}
diff --git a/template/reply.twig b/template/reply.twig
index 7ff0e0e0..5cd3bcfe 100644
--- a/template/reply.twig
+++ b/template/reply.twig
@@ -1,7 +1,7 @@
{% include 'header.twig' %}
-
Reply to {{ comment.username }}
+