fix: keep HTML escaped

This commit is contained in:
Solomon Victorino 2024-03-20 15:16:44 -06:00
parent 0d7355bd46
commit 1d69997dd0

View file

@ -246,7 +246,7 @@ func extractAnswersData(doc *goquery.Document, domain string) ([]types.FilteredA
// Process code blocks within the answer.
processedAnswerBody := utils.ProcessHTMLBody(answerBodyHTML)
answer.Body = template.HTML(html.UnescapeString(processedAnswerBody))
answer.Body = template.HTML(processedAnswerBody)
// Extract author information and timestamp.
extractAnswerAuthorInfo(s, &answer, domain)