mirror of
https://github.com/httpjamesm/AnonymousOverflow.git
synced 2025-05-14 05:52:54 +00:00
feat: question tags
This commit is contained in:
parent
c87ce26da8
commit
69d96d646d
5 changed files with 37 additions and 1 deletions
|
@ -98,6 +98,9 @@ func ViewQuestion(c *gin.Context) {
|
|||
|
||||
questionPostLayout := doc.Find("div.post-layout").First()
|
||||
|
||||
questionTags := utils.GetPostTags(questionPostLayout)
|
||||
newFilteredQuestion.Tags = questionTags
|
||||
|
||||
questionBodyParent := doc.Find("div.s-prose")
|
||||
|
||||
questionBodyParentHTML, err := questionBodyParent.Html()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue