mirror of
https://github.com/httpjamesm/AnonymousOverflow.git
synced 2024-12-06 19:16:43 +01:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f81b726612 | |||
| c55b8b6ed5 |
+1
-1
@@ -1,3 +1,3 @@
|
||||
package config
|
||||
|
||||
var Version = "1.7"
|
||||
var Version = "1.7.1"
|
||||
|
||||
@@ -222,8 +222,8 @@ func ViewQuestion(c *gin.Context) {
|
||||
|
||||
if questionAuthorDetails.Length() > 0 {
|
||||
questionAuthor := questionAuthorDetails.Find("a").First()
|
||||
newFilteredQuestion.AuthorName = html.EscapeString(questionAuthor.Text())
|
||||
newFilteredQuestion.AuthorURL = html.EscapeString(questionAuthor.AttrOr("href", ""))
|
||||
answerAuthorName = html.EscapeString(questionAuthor.Text())
|
||||
answerAuthorURL = html.EscapeString(questionAuthor.AttrOr("href", ""))
|
||||
}
|
||||
|
||||
answerTimestamp = html.EscapeString(s.Find("span.relativetime").Text())
|
||||
|
||||
Reference in New Issue
Block a user