forked from chookspace/chookchat
Style things a little
This commit is contained in:
@@ -29,11 +29,11 @@ std::string Post::genHtml() const {
|
||||
ts = *localtime(&time);
|
||||
strftime(buf, sizeof(buf), "%a %Y-%m-%d %H:%M:%S %Z", &ts);
|
||||
|
||||
ss << "<p><i>" << user << "</i> posted this at " << buf << "</p>\n";
|
||||
ss << "<p class='postinfo'><i>" << user << "</i> posted this at " << buf << "</p>\n";
|
||||
|
||||
ss << content;
|
||||
|
||||
ss << "<p>" << likes << " likes</p>";
|
||||
ss << "<p class='postinfo'>" << likes << " likes</p>";
|
||||
|
||||
return ss.str();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user